The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “CPA

CSS Compressor

espmartin

New Member
affiliate
If you have a very large external CSS file, and want to minimize your down-
load times, I found a cool CSS compressor that will automatically make your
file size smaller. Depending on the options you select, you can get the size
of the file down pretty good. The site is: Code Beautifier: CSS Formatter and Optimiser

I tried it with all the options set for maximum compression, and after up-
loading the new file, my site still looks great (didn't break it!), and it
went from the original size of 11.981KB, to 9.252KB (Compression Ratio: 22.8%
(-2729 Bytes)). Pretty cool for sites that need it.

It even provides you with a "message" area that details the changes.
I've put my original CSS file back, as I like the readability of my coding,
but again, for sites that would need it, it's cool.
 
You can be economic with file size by creatively coding your CSS in the first place. One mistake (IMHO) is to assign styles as IDs instead of classes. This is because IDs are by definition unique whereas classes can be repeatedly assigned. With a bit of thought, the size of CSS files can be kept under control from the begining.
 
banners
Back