View Single Post
Old 07-08-2012, 12:21 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,141
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Doitsu View Post
Free CSS Toolbox does a good job.
I recently found this one and have used it once

Using it to perform a number of sequential passes over the CSS.
1) I removed blank lines.
2) I alphabetized
3) I then sorted by type (to put Selectors at the top of the alphabetized list)

Nice.

It is not integrated with Calibre, so use is a bit cumbersome:
1 Use Tweak EPUB to get at the CSS
2 copy the CSS to the desktop (or a easy accessible temp folder). LEave Tweak Open (minimized OK)
3 open that CSS with Free CSS Toolbox and do your stuff and Save
4 add (replace)the cleaned CSS back into the place you found it. Click Rebuild
theducks is offline   Reply With Quote