CSS验证:“解析错误[空字符串]"; [英] CSS Validation: "Parse Error [empty string]"

查看:55
本文介绍了CSS验证:“解析错误[空字符串]";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试验证我的CSS,以下几行持续返回错误 Parse Error [empty string]

I have been trying to validate my CSS, and the following lines continually return the error Parse Error [empty string]

.content { width:80%; text-align:center; margin-left:auto; margin-right:auto; 
max-width:400px; border-width:4px; border-style:solid; border-color:#339900; 
padding:5px; margin-top:10px; margin-bottom:10px; border-radius:20px; 
background-color:#ccffcc; }
#side_link { position:fixed; bottom:5px; right:-4px; 
background-image:url('img/FruitfulLogo.png'); height:29px; width:22px; 
border-style:solid; border-width:2px; border-bottom-left-radius:5px; 
border-top-left-radius:5px; border-color:#F90; background-color:#FF9; }
#side_link:hover { background-image:url('img/FruitfulLogo_over.png'); }

我错过了一些非常明显或晦涩难懂的东西吗?

Am I missing something really obvious or really obscure?

推荐答案

显然,边界半径抛出Parse错误[空字符串]是W3C CSS验证器中的错误.

Apparently, the border-radius throwing a Parse Error [empty string] is a bug in the W3C CSS validator.

请参见 http://www.w3.org/Bugs/Public/show_bug.cgi?id=11975 .

这篇关于CSS验证:“解析错误[空字符串]";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆