Looking for CSS minimizer

Giganews Newsgroups
Subject: Looking for CSS minimizer
Posted by:  Yashgt (yash…@gmail.com)
Date: Thu, 3 Jul 2008

I have a large CSS file which has classes defined such as:
myclass {
margin-right:7px;
margin-top:5px;
padding-bottom:5px;
padding-top:5px;
}

I would like to reduce the CSS file to its minimum with
- redundant lines removed
- defintion shortened. e,g. the above class should be changed to
margin : 5px 7px 0px 0px;
padding : 5px 0px 5px 0px;

Please let me know which tool can be used.

Thanks,
Yash

Replies