Hi,
Suddenly noticed a CSS error with a simple CSS:
h1 { font: 20px/100% "Times New Roman", Times, serif; }
"Value Error : font / is not a font-family value : 20px / 100% "Times New Roman",Times,serif "
That's the way I've always written "font." And Dreamweaver agrees. Is there a new standard here?
http://www.wellesley-hotel.com/test2.html
With CSS Shorthand on fonts, you should express ALL attributes.
font: style | variant | weight | size/line-height | font-family "font name", "font name", font;
If all attributes are not required, better to use font-size, line-height and font-family.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
Jigsaw CSS validator isn't 100% perfect. Could be a glitch in their system. What matters most is how it performs in browsers.
I only mentioned the issues around Font shorthand because some browsers/devices have trouble with it if you don't express all the attributes in correct sequence.
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific