Two columns Three columns Mixed cols and rows Gallery Archives Clean & Clear Dark or Black High Contrast/ Impact Blog Designs New Corporate/ Professional Unconventional Designs Liquid layouts Web Design Firms Our Favorites What's Popular Last 20 submissions
Horizontal Menus Vertical Menus Multiple/ Nested Levels
CSS Compressor Image to Color Palette Tool

Design News:

rss Javascript
Clean and Optimized CSS Code

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!

Comments (4)

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?

#1: Moni on 08/19 at 09:23 AM

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

#2: Moni on 08/19 at 09:25 AM

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

#3: mark on 08/19 at 04:34 PM

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.

#4: Nathan Beck on 08/20 at 08:07 AM
Commenting is not available in this weblog entry.

CSS Forums

CSS Forums: latest threads Last Post Info
IE6 vs. DIV height 100% (1) 07/03/2009 11:17 am
By: Emerson
Font doesn't diplay in Firefox? (10) 07/02/2009 03:27 am
By: spongebob
Help regarding horizontal menu lists (5) 07/02/2009 03:04 am
By: tenchin
how to make video resize when you click on it. (1) 07/01/2009 02:32 am
By: ted1067
Making the 'content' property useful! (17) 06/30/2009 04:18 am
By: Hsekhar