You can also do this way:
div.className {
border:solid 1px #91a7b4;
border-width:0 1px 1px 1px; /* T R B L (easily remembered as Trouble) */
}
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Pollard
Sent: Wednesday, October 08, 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'm wondering if the following is better:
div.className {
border: solid 1px #91a7b4;
border-top: 0;
}
Any opinions on this?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/