W3C css验证器上的奇怪错误 [英] Weird error on W3C css validator

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

问题描述




http://jigsaw.w3.org/css-validator/

声称:


{font-family:" ; Book Antiqua,Palatino,Times New Roman,Times

Roman serif}


无效,理由是太多的值或值不是

认可的


鉴于这些字体使用非常广泛且大多数都是标准的Windows字体,任何想法为什么我从

验证器那里得到这个奇怪的消息?


Dave

Hi

The W3C css validation service at http://jigsaw.w3.org/css-validator/
claims that:

{font-family: "Book Antiqua", Palatino, "Times New Roman", "Times
Roman" serif}

is invalid on the grounds that "Too many values or values are not
recognized "

Given that those fonts are very widely used and most are standard
Windows fonts, any idea why I''m getting this weird message from the
validator?

Dave

推荐答案

5月12日16:54,Dave Rado< dave.r ...... @ dsl.pipex.comwrote:
On 12 May, 16:54, Dave Rado <dave.r...@dsl.pipex.comwrote:




W3C css验证服务:http://jigsaw.w3.org / css-validator /

声称:


{font-family:" Book Antiqua",Palatino," Times New Roman","时代

罗马 serif}


无效,理由是太多的值或值不是

认可的


鉴于这些字体使用非常广泛且大多数都是标准的Windows字体,任何想法为什么我从

验证器那里得到这个奇怪的消息?


Dave
Hi

The W3C css validation service athttp://jigsaw.w3.org/css-validator/
claims that:

{font-family: "Book Antiqua", Palatino, "Times New Roman", "Times
Roman" serif}

is invalid on the grounds that "Too many values or values are not
recognized "

Given that those fonts are very widely used and most are standard
Windows fonts, any idea why I''m getting this weird message from the
validator?

Dave



没关系我发现Serif这个词需要有一个资本

S。虽然不是一个非常有用的错误信息!!


Dave

It''s okay I''ve discovered that the word Serif needed to have a capital
"S". Not a very helpful error message though!!

Dave


5月12日,5:03 * pm,Dave Rado< ; dave.r ... @ dsl.pipex.comwrote:
On May 12, 5:03*pm, Dave Rado <dave.r...@dsl.pipex.comwrote:

5月12日16:54,Dave Rado< dave.r ... @ dsl .pipex.comwrote:
On 12 May, 16:54, Dave Rado <dave.r...@dsl.pipex.comwrote:

Hi
Hi


W3C css验证服务:/ /jigsaw.w3.org/css-validator/

声称:
The W3C css validation service athttp://jigsaw.w3.org/css-validator/
claims that:


{font-family:" Book Antiqua,Palatino,Times New Roman,Times

Roman serif}
{font-family: "Book Antiqua", Palatino, "Times New Roman", "Times
Roman" serif}


无效,理由是太多的值或值不是

已识别
is invalid on the grounds that "Too many values or values are not
recognized "


鉴于这些字体使用非常广泛且大多数都是标准的b / b
Windows字体,任何想法为什么我都是从

验证器获取这个奇怪的消息?
Given that those fonts are very widely used and most are standard
Windows fonts, any idea why I''m getting this weird message from the
validator?


Dave
Dave



没关系我已经发现了这个词Serif需要有一笔资金

S。虽然不是一个非常有用的错误消息!!


It''s okay I''ve discovered that the word Serif needed to have a capital
"S". Not a very helpful error message though!!



当你把它改成大写S时你是否还添加了缺少的逗号?


" Times Roman" serif应该是Times Roman,serif


根据规范,你不需要大写字母,但你需要一个逗号。


Steve

When you changed it to a capital S did you also add the missing comma?

"Times Roman" serif should be "Times Roman", serif

By the spec you don''t need a capital letter but you do need a comma.

Steve


Dave Rado< da ******* @ dsl.pipex.comwrites:
Dave Rado <da*******@dsl.pipex.comwrites:

http://jigsaw.w3.org上的W3C css验证服务/ css-validator /

声称:


{font-family:" Book Antiqua",Palatino," Times New Roman" ;,时代

罗马 serif}


无效,理由是太多的值或值不是

已识别
The W3C css validation service at http://jigsaw.w3.org/css-validator/
claims that:

{font-family: "Book Antiqua", Palatino, "Times New Roman", "Times
Roman" serif}

is invalid on the grounds that "Too many values or values are not
recognized "



你错过了Times Roman和Times Roman之间的逗号。和serif。​​


sherm--


-

我的博客: http://shermspace.blogspot.com

Perl中的Cocoa编程: http://camelbones.sourceforge.net


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

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