Way of Determining How Many Style Rules I have
I'm working on a website. It is quite large, it has over 100 style sheets, and Im (again) starting to lose styles in IE. I've configured rails to compile all of my CSS into one file, and Im only losing styles in IE. IE can only compile 4095 style rules.
Is there a fast and easy way of determining how many style rules a site has? I've looked in various places and I see no such option.
Also, is there a good tool for ruby/rails that minimizes your styles?
Through the command-line: You could pass the html file to grep, and do a word count on the occurences of css.
grep css index.html | wc -l