XHTML, HTML and CSS compressor

http://www.peterbe.com/plog/blogitem-040406-1/compressor

6th of April 2004

Last week Fry-IT released CheckoutableTemplates which is a templating module add-on for Zope. It includes a module called slimmer.py which can compress XHTML, HTML and CSS. The CSS had a flaw in it that I hadn't foreseen. This flaw arises when you use M$ Internet Explorer hacks like this for example:

 #centercontent {
    margin-left
: 259px;
    margin-right
:249px;
    voice-family
: "\"}\"";
    voice-family
: inherit;
    margin-left
: 271px;
    margin-right
:251px;
    
}

Now that bug has been fixed, so I give you: The XHTML, HTML and CSS compressor It's a little application of slimmer.py so that the compressing can be tested and so that one can see the effect.



Comment

22 comments so far Show all 22 comments
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.