Is it harmful to put anything as a comment as a first thing in a CSS file? Can it cause any problem in any browser or does it have no cons?
A:
As far as I am aware, no it does not, and it wont have any impact on browser parsing.
Richard
2009-12-14 11:55:46
OK. now I forgot where but i read somewhere 2-3 yrs ago "W3c validator doesn't like comment as a first thing" but may now it's not a problem
metal-gear-solid
2009-12-14 12:06:12
You may be confusing HTML (Where the doctype should be the 1st thing) and CSS.
Pekka
2009-12-14 12:12:33