|
|
 |
FN-FORUM: Correct CSS
date posted 29th January 2004 12:21
Hi, the site I'm working on has a few div layers that have borders & I was
wondering what is the correct & most compatible format of coding this:
Specifying each attribute separately as such:
border-right-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: solid;
border-bottom-style: none;
border-left-style: solid;
border-top-color: #ACBCE2;
border-right-color: #ACBCE2;
border-bottom-color: #ACBCE2;
border-left-color: #ACBCE2;
Or combining them all:
border-top: 1px solid #ACBCE2;
border-right: 0px none #ACBCE2;
border-bottom: 1px solid #ACBCE2;
border-left: 0px none #ACBCE2;
They both seem to work (Mac IE6 & Safari) although DW throws up an error on
the use of the word none when used with the border-top-style: none method.
Cheers
--
Neelesh Sonawane
Graphic Designer
M: 07949 034 391
www.sonawane.co.uk
[EMAIL REMOVED]
|
 |
|