Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Is there a correct or standard way to write your CSS?


johnnie - 1:18 am on Jun 16, 2009 (gmt 0)


After I write the thing, I minify it all to one single line. As few intermittent characters (tabs, spaces etc.) as possible. It will shave of quite some bytes (up to 25% on a decently sized CSS file), saving you data and increasing speed. If I ever need to edit, I'll just de-minify using a regular expression match.

To hell with layout best practices; I code for the user.


Thread source:: http://www.webmasterworld.com/css/3929989.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com