Sent by Zoe M. Gillenwater on 29 November 2004 19:07
Pringle, Ron wrote:
>I'm working through my css and am trying to trim things down. I have a
>number of elements which have the same border style applied to three sides,
>with no border on the fourth side. Which is the better way to write that in
>the markup:
>
>A.
>
>border-right: 1px solid #333;
>border-left: 1px solid #333;
>border-top: 1px solid #333;
>
>
>B.
>
>border: 1px solid #333;
>border-bottom: 0;
>
>
>
I say B. But keep in mind that you may need to say "border-bottom: 0
none" to get some browsers to cooperate.
Zoe
--
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/