what is the best css compressor and why? What features should be selected while compressing css and what warnings should be kept in mind so that after compression the css won't change and stop working.
I have always used this http://www.cssdrive.com/index.php/main/csscompressor/ And choose these settings for best results. View attachment 82223
You can use Free CSS Toolbox (is a freeware productivity software for web developers who work with CSS code that can Compress your css codes) blumentals.net/csstool
To me CSS compression, much like whitespace compression of HTML or even Javascript, is a lame copout to try and hide inept coding. If your markup, CSS or javascript actually 'need' whitespace compression in the first place, there's probably something disastrously wrong with them like the use of presentational markup, presentational classes (which is really the same thing), idiotic half assed frameworks (like YUI or Blueprint) that defeat the entire point of using CSS, fat bloated runtime libraries for nothing (mootools, jquery) or the dozen other things that are increasingly making websites less useful than they were a decade ago. Really it's only meaningful to the inept who sleaze out their sites any old way by slapping together off the shelf parts without even bothering to learn how they work.