CSS pretty print
Posted: Tue Jan 24, 2006 3:43 pm
First of all, I have just noticed the new wonderful CSS validation feature in v7, awesome (as that skateboard dud would say).
But now that my CSS is spotless, how can I control its format?
I like to have my classes like this:
td.clsTableTypeTwoTotalAmount
{
font-weight : bold !important;
border : none;
border-right : 1px solid #6176B9;
border-bottom : 1px solid #6176B9;
text-align : right;
}
th.clsTableTypeTwoBalanceTitle
{
background-color: #6176B9;
color : white;
padding : 0.1em;
font-size : 1.2em;
text-align : right;
}
so I'd need to be able to conserve break before and after the brace, put an arbitrary margin within the braces, and hopefully align all the values (either within the brace, or along an arbitrary tab...)
And completion hints would be nice too...
Cheers
But now that my CSS is spotless, how can I control its format?
I like to have my classes like this:
td.clsTableTypeTwoTotalAmount
{
font-weight : bold !important;
border : none;
border-right : 1px solid #6176B9;
border-bottom : 1px solid #6176B9;
text-align : right;
}
th.clsTableTypeTwoBalanceTitle
{
background-color: #6176B9;
color : white;
padding : 0.1em;
font-size : 1.2em;
text-align : right;
}
so I'd need to be able to conserve break before and after the brace, put an arbitrary margin within the braces, and hopefully align all the values (either within the brace, or along an arbitrary tab...)
And completion hints would be nice too...
Cheers