帮助CSS验证错误 [英] Help with CSS validation error

查看:72
本文介绍了帮助CSS验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我帮助一位朋友整理了这个网站: http://www.widfordlodge。 com /


点击CSS验证图标,你会收到这个错误:


---- ----------

行:75上下文:.footerimg


无效的数字:border-rightParse错误 - [空字符串] < br $>
--------------


CSS文件是 http://www.widfordlodge.com/main.css


任何想法是什么是什么?


-

Mark。
http://www.tranchant.freeserve.co.uk/

I''ve helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you''ll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------

The CSS file is http://www.widfordlodge.com/main.css

Any ideas what this is all about?

--
Mark.
http://www.tranchant.freeserve.co.uk/

推荐答案

Mark Tranchant< mt ****** @ ford.com>写道:
Mark Tranchant <mt******@ford.com> writes:
行:75上下文:.footerimg

无效的数字:border-rightParse错误 - [空字符串]
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]




border-right:none;


尝试border-right:0;相反?


-

克里斯



border-right: none;

Try border-right: 0; instead?

--
Chris


Le 10/07/2003 16:24, Mark Tranchantaécrit:
Le 10/07/2003 16:24, Mark Tranchant a écrit :
我帮助一位朋友整理了这个网站: http://www.widfordlodge.com/

单击CSS验证图标,您将收到此错误:

无效的数字:border-rightParse错误 - [空字符串]
--------------

CSS文件是 http://www.widfordlodge.com/main.css

任何想法是什么意思?
I''ve helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you''ll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------

The CSS file is http://www.widfordlodge.com/main.css

Any ideas what this is all about?



应该是

border-right-style:none;

pascal


-

常见问题解答Mozilla / Netscape 7 en fran?ais: http://pascal.chevrel。 free.fr/

拖我,拉我,像对象一样对待我


it should be
border-right-style:none;
pascal

--
FAQ Mozilla/Netscape 7 en fran?ais : http://pascal.chevrel.free.fr/
Drag me, drop me, treat me like an object


Mark Tranchant写道:
Mark Tranchant wrote:
我帮助一位朋友整理了这个网站: http://www.widfordlodge.com/

点击CSS验证图标,你会收到这个错误:

--- -----------
行:75上下文:.footerimg

号码无效:border-rightParse错误 - [空字符串]
---- ----------
I''ve helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you''ll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------




相应的规则是:


border-right:none;


border-right是右边界的宽度,样式和颜色的简写属性,按顺序依次为
。如果省略任何值,那么你必须从右边那样做b $ b。因此,''none''值指定

的宽度。宽度可以是''thin'',''medium''或''thick''中的任何一种,或者长度 -

''none''在这里没有意义,它是一个关键字边境/风格/。你要做的是什么

指定宽度:


border-right:0;


-

Jim Dabell



The corresponding rule is:

border-right: none;

border-right is a shorthand property for width, style and color of the right
hand border, in that order. If you omit any of the values, then you must
do so from the right hand side. The ''none'' value is therefore specifying
the width. Width can be any of ''thin'', ''medium'', or ''thick'', or a length -
''none'' is meaningless here, it is a keyword for the border /style/. What
you want to do is specify the width:

border-right: 0;

--
Jim Dabell


这篇关于帮助CSS验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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