View Single Post
  #2 (permalink)  
Old 01-26-2008, 05:21 PM
ryanhellyer's Avatar
ryanhellyer ryanhellyer is offline
Super Moderator
 
Join Date: Dec 2007
Posts: 708
Default

I tend to remove carriage returns from my CSS too. Partly for saving file size and also as I find it easier to scan for the chunk of CSS I want to edit.

Ie:
Code:
p {
  font-size: 1em;
  line-height: 1.5em;
  font-weight: bold;
  font-style: italic;
  font-family: serif
  border-width:1px;
  border-weight:solid;
  border-color:#aaaaaa;
}
Would become:
Code:
p {font:1em/1.5em bold italic serif;border:1px solid #aaa}
Reply With Quote