Sent by d.jacquemin on 26 September 2002 03:03
ahoy!
a question about css validation.
i have crafted a css file that seems to be error free. heck, even the
warnings are just "Redefinition of voice-family" as i try to be nice to
opera and ie5. however, on the validation page
(http://jigsaw.w3.org/css-validator/validator-upload.html) and on the
results page there is a note. "To work as intended, your CSS style sheet
needs a correct document parse tree. This means you should use valid HTML."
being perhaps a bit too naive, i decided i check to see my css was valid
html using the html validator.
it got ugly at this point.
valid html requires all kinds of nifty declarations like doctype and
character coding.
every css file i've seen (including mine) just starts right in with the
element style declarations.
i even tried to play nice and add the '@charset "ISO-8859-1";' bit. the html
validator wasn't buying it.
so, do i really need "valid" html or not?
please advise.
- dhj
----------------------------------------------------
Clothes make the man.
Naked people have little or no influence on society.