Thread: CSS Question
View Single Post
  #4  
Old 15th April 2008, 17:34
KenJackson KenJackson is offline
Junior Member
 
Join Date: Jul 2006
Location: Maryland, USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I pasted your CSS page into the W3C CSS Validation Service and got these errors:

Code:
 9   body      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.

13   .style1   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.

25   #Layer1   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.
So try this, and similarly for the other lines:
Code:
.style1 {font-family: "Copperplate Gothic Light"; font-size: 24px;}
In this particular case, IE didn't actually do it wrong. Firefox and Safari are apparently just more kind and forgiving.
__________________
Why I prefer GNU/Linux
Reply With Quote