CSStidy ( http://csstidy.sourceforge.net/ ) related material. CSSTIDY is a CSS optimizer / reformatting / cleanup tool. It is available as an executable file and as PHP script, copyright © 2005 (Florian Schmitz).
Note: I only offer 32/64-bit Windows builds & MSVC project files and C++ source code here. For the original goods (in particular the PHP code version), please visit the SF site.
CSStidy can be used to compress / optimize your CSS, but when compression is not important to you, you can also use CSStidy to format or fix CSS code for improved browser compatibility.
Apart from the 4 default templates you can specify custom templates so that you can easily format your CSS code using your own preferred coding style. Other features of CSStidy include sorting and changing the case of selectors and properties.
Contrasting most other CSS parsers, no regular expressions are used to parse the CSS input, allowing CSStidy to offer full CSS2 support and a higher reliability.
C++ code tweaks/shuffles to make it compile under MSVC2005.
When building for the Release/Itanium platform, MSVC2005 crashes at the /LTCG whole-program-compile/link phase when C++ optimizations (/Ox or /O2) are turned ON.
Hence the Optimization setting for that particular build platform has been tweaked to 'none' (/Od) -- no time now to research this issue further, sorry.
GNU configure script will follow at a later date.
Note: the 7z (7zip) downloads are strongly advised as those will be faster to download (and smaller too). For anyone who does not want to use 7zip for compelling religious reasons (like alarmingly restrictive enforced company policies), we provide a .tar.bz2 file as an alternative for some files. Click on the "bz2" links instead to download these - when available.
| Compiles on: Platform |
Files / Archives | Date/Time | Quality | Notes |
|---|---|---|---|---|
|
|
|
2008-12-15 | Beta | Quick build; not tested yet |
|
|
Microsoft Visual Studio 2005 SP1 Redistributable PackageYou'll need to install this if you cannot run the compiled executables on your Windows platform:
|
2008-05-24 | Production | Mirror from Microsoft. |
(c)Copyright 2001-2009, Gerrit E.G. Hobbelt (Ger Hobbelt a.k.a. [i_a] ) - Hebbut.Net