Re: Looking for CSS minimizer

Giganews Newsgroups
Subject: Re: Looking for CSS minimizer
Posted by:  Jonathan N. Little (lws4a…@central.net)
Date: Thu, 03 Jul 2008

Yashgt wrote:
> 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;

actually they could be

..myclass {
margin: 7px 5px 0 0;
padding: 5px 0;
}

and the best tool is notepad and a human...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Replies

None

In response to

Looking for CSS minimizer posted by Yashgt on Thu, 3 Jul 2008