I am using ASP.NET MVC to develop a site. The CSS file has grown to 88KB and is having a little more 5,000 lines. I noticed recently that styles added at the end are not the
What does the CSS validator say about your CSS rules?
Cut and paste the last "ineffective" rules of your stylesheet at its beginning: are some of them now working?
Obvious typo errors can be seen with a good text editor like PSPad, Notepad++, Scite: " ; /* */ and so on. They have a pretty limited scope like ; or are easily seen like a comment not closed. The less obvious one I encountered was not closing a parenthesis:
background: green url(img/dummy_gradient.png left top no-repeat;
Nothing worked till the next ) in my CSS rules 50 lines below!