Help - Search - Members - Calendar
Full Version: Stupid validator.
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
schizo
I went to validate the CSS for the layout commission I'm doing, and it passed, but I have all these warnings. I'd fix them if I had a clue about what they're talking about.

blah

Any idea? I'm not too concerned with them since he should just be happy it's validated, but I'm curious.
Maccabee
All the ones talking about whitespace are concerning the face that there are many unnecessary spaces.
height : 59px;
Instead of
height:59px;
And it is saying that anytime floating is involve the little css declaration needs to have a width.
.sIFR-replaced div.sIFR-fixfocus {
margin : 0;
padding : 0;
overflow : auto;
letter-spacing : 0;
float : none;
}
That has no width declared.

And I think the color thing is concerning the fact that you have css for h3 a few times and in two of the css sections you gave h3 the color #ffffff, but you did it twice.

These are really nothing to worry about. I always get little problems. Random things like telling me that my <br> should be </ br>. I have never done it like that before though. But I should start.
allvanishing
For
QUOTE
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.

is for the font. Instead of
QUOTE
font:20px century gothic;

Do this
QUOTE
font: normal 20px "Century Gothic";

If the font name has spaces in it.
schizo
Ahh, thank you!

Closed and moved to resolved.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.