Colin Log

configuring computers, preventing cerebral data-loss

« Back to posts
  • Viewed
    times
February 21, 2010

ReIndenting -- Make the Codez Consistent

  • Edit
  • Delete
  • Tags
  • Autopost
Ugly code is a fact of life, and recently I ran across some very ugly CSS. So what do you use to fix up CSS? No the unix indent program!

Turns out the UniversalIndentGUI Wikipedia Page is a great way to find code indenters ( or reindenters, if you will ).

My choice for CSS: the CSS tidy formatter and optimiser*: 
http://geeklord.com/tools/csstidy/optimize.htm

Colin

Yup, blame British imperialism for this one :P