Hi - I have just validated the css on a new site I am working on with the W3C css validator and have got these errors which I don't understand:
71 #side h3 Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
85 h1 Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space.
#side h3 {
font: bold 100%/2em Georgia, Times New Roman, Times, serif;
padding-left: 10px;
color: #FF6600;
h1 {
font: bold 150% Georgia, Times New Roman, Times, serif;
color: #ff6600;
padding-top: 5px;
Could someone explain what is wrong here - please!!!
Thanks
Ann
Ahhhhh - I see - thanks for that. Funny though - I am using Dreamweaver 8 and when I run validation on that it doesn't like "Times new Roman" and I have to remove the speech marks. Does explain the W3C comment though. All this validation is making my head spin - doesn't seem quite consistent sometimes
just a thought...try using font-family: rather than font.... use it the same way you have used font. ie have a few font options just incase your primary isnt supported
Hi James - no W3C doesn't like that either. I think the "Times New Roman" thing with Dreamweaver must be a software bug - so now I know I will put the quotes in which W3C seems happy with.
Bookmarks