Generally when I want borders on 3 sides of something I write:
div.className {
border-top: 0;
border-right: solid 1px #91a7b4;
border-bottom: solid 1px #91a7b4;
border-left: solid 1px #91a7b4;
}
But I'm wondering if the following is better:
div.className {
bord
, 2008 1:20 PM
To: CSS Discuss
Subject: [css-d] condensing css
Generally when I want borders on 3 sides of something I write:
div.className {
border-top: 0;
border-right: solid 1px #91a7b4;
border-bottom: solid 1px #91a7b4;
border-left: solid 1px #91a7b4;
}
But I
About 90% of the time I do the border-top:0 method, but I have found myself
using the 0 1 1 1 method as well.
I don't really see anything wrong with it.
Maybe in the future we'll have: border:0 1px 1px 1px solid blue;
__
css-disc