Re: FN-FORUM: Correct CSS
date posted 29th January 2004 12:44
On Thu, 29 Jan 2004 12:09:26 +0000, Neelesh Sonawane
[EMAIL REMOVED] wrote:
>
> 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:
How about:
border-width: 1px 0;
border-color: #ACBCE2;
border-style: solid none;
as an alternative?
If there is only one value, it applies to all sides. If there are two
values, the top and bottom borders are set to the first value and the
right and left are set to the second. If there are three values, the top
is set to the first value, the left and right are set to the second, and
the bottom is set to the third. If there are four values, they apply to
the top, right, bottom, and left, respectively.
hth
Tony