W3C Css Validator for my CSS file
My question is that when I put some CSS inside of a DIV tag it stops working when I go to doctype 4.01 from 4.0 (transitional) The goal here of course to have all the bells and whistles working in the latest version of IE, FF, and Chrome. What am I missing here?
I’ve searched this site but can’t find anything that can help yet.. Hopes it’s something simple..
<div class="ContentContainer"><div class="text1">Formatting for text1 is NOT working.</div></div>
Thanks!
You should use the html5 doctype ..
you also seem to be using a wrong html comment syntax ..
comments should be like
<!-- Menu here -->(documentation) and not like<! Menu here ===========>Update
CSS is case sensitive, so when you apply a class of
text1it will not match a CSS rule namedText1