Previous Message
Next Message

Proper way to write code for css borders?

Sent by Ted Drake on 29 November 2004 19:07


I remember seeing a hack for Opera on borders, I'm sure someone has the specific information. It
required a border:0px...
Ted


-----Original Message-----
From: Pringle, Ron [EMAIL-REMOVED]]
Sent: Monday, November 29, 2004 11:08 AM
To: CSS-D List (E-mail)
Subject: [css-d] Proper way to write code for css borders?


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;


Regards,
Ron



______________________________________________________________________
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/
______________________________________________________________________
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/
Previous Message
Next Message

Possibly related: