CSSTidy 6.x-2.1

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : GPL - GNU General Public License
CreatedCreated : Dec 24, 2010
Size downloadDownloads : 8
Program licensing
Thank you for voting...

The default Drupal optimization removes whitespace ...

The default drupal optimization removes whitespace around separators and comments that are not CSS hacks.
The module compresses all CSS files to optimize and speed up the site.
Setup Process:
Unpack in your modules folder (usually '/sites/all/modules/')
Enable under Administer > Site Building > Modules
Most important functions of CSSTidy by philbar:

CSSTidy 6.x-2.1 improves upon this by optimizing the stylesheet in the following ways:

• Colors like "black" or rgb(0, 0, 0) are converted to #000000 or rather #000 if possible. Some hex-codes are replaced by their color names if they are shorter.

• a{property:x; property:y; } becomes a{property:y; } (all duplicate properties are merged)

• margin:1px 1px 1px 1px; becomes margin:1px;

• margin:0px; becomes margin:0;

• a{margin-top:10px; margin-bottom:10px; margin-left:10px; margin-right:10px; } becomes a{margin:10px; }

• margin:010. 0px; becomes margin:10px;

• All unnecessary whitespace is removed, depending on the compression-level

• All background: properties are merged

• All comments are removed

• The last semicolon in every block can be removed

• Missing semicolons are added, incorrect newlines in strings are fixed, missing units are added, bad colors (and color names) are fixed

• property:value ! important; becomes property:value !important;

• Drupal 6. x

CSSTidy 6.x-2.1 scripting tags: optimize, remove whitespace, marginpx, css compression, added, removed, optimize blog, csstidy, drupal. What is new in CSSTidy 6.x-2.1 software script? - Unable to find CSSTidy 6.x-2.1 news. What is improvements are expecting? Newly-made CSSTidy 6.1 will be downloaded from here. You may download directly. Please write the reviews of the CSSTidy. License limitations are unspecified.