Some wonderful pointers on how to optimize your CSS code and also become more efficient in creating yout style sheets. These are great examples I even go by!
Wondering if anyone has ever compressed their style sheets?
I mean does the size really matter that much?? I do keep my css clean but i’m not a css-tidy nazi as mat would put it, I might add some extra white space here and there and the likes, and as or shorthand, i must admit, I dont do it much...but I cant say ive seen negative results because of that? so what gives? am I missing something?
Oh, something i always do though is document my code, has proved to be a life savor in the past! specially when i go back to a really old site that I have no recollection of at all
I’ve never found it necessary to compress the CSS files, using instead, gz compression settings in IIS /Apache.
I HAVE on occasion, obfuscated the CSS and HTML + Javascript, by running them through a tokenizer I wrote. (all CSS classes get resolved to a 16 digit hex string) all Javascript functions and variables get scrambled.
why? the obvious reasons, also just to play with some C# code
Yeh never compressed, really not that necessary but always document my HTML and CSS.
I nearly posted this myself then realised you’d already done it! It is useful stuff to know.
Annoucement: I'm looking for a few news posters. Interested?
| CSS Forums: latest threads | Last Post Info |
|---|---|
| IE6 vs. DIV height 100% (1) | 07/03/2009 11:17 am |
| Font doesn't diplay in Firefox? (10) | 07/02/2009 03:27 am |
| Help regarding horizontal menu lists (5) | 07/02/2009 03:04 am |
| how to make video resize when you click on it. (1) | 07/01/2009 02:32 am |
| Making the 'content' property useful! (17) | 06/30/2009 04:18 am |