Archive for August, 2007

Single Line CSS

Wednesday, August 8th, 2007

If you are always having a difficult time scanning through lines upon lines of CSS code trying to locate the correct selector, try out this idea by Steve Smith: Single Line CSS.

Compare this:


#wrapper {
width:800px;
margin:0 auto;
}

#header {
height:100px;
position:relative;
}

#feature .post {
width:490px;
float:left;
}

#feature .link {
width:195px;
display:inline;
margin:0 10px 0 0;
float:right;
}

#footer {
clear:both;
font-size:93%;
float:none;
}

To this:


#wrapper {width:800px; margin:0 auto;}
#header {height:100px; position:relative;}
#feature .post {width:490px; float:left;}
#feature .link {width:195px; display:inline; margin:0 10px 0 0; float:right;}
#footer {clear:both; font-size:93%; float:none;}

Of course, there’s always the option of using an IDE to edit your CSS files and get to style your markup as much as you want.

Link to article

Blueprint: A CSS Framework

Sunday, August 5th, 2007

Blueprint is a CSS Framework that is in many ways similar to YUI’s reset-font-grids CSS framework. It is in its early stages still, so beware and read the disclaimer:

Blueprint has not yet been tested in every browser. Please do not use this framework in any projects of importance at this time.