Previous Message
Next Message

re: borders

Sent by Alek Vila on 30 November 2004 19:07


Hi Ron,

I would use C...

border-top: 1px solid #333;
border-right: 1px solid #333;
border-bottom-width: 0;
border-left: 1px solid #333;

In my limited experience, browsers don't respond well to "0" as a value for the shorthand property;
therefore, "width" must be specified.

Hope that helps.

~ Alek


[EMAIL-REMOVED] wrote:

> > On Mon, 29 Nov 2004 13:08:05 -0600, Pringle, Ron [EMAIL-REMOVED]> 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;
> > >
> > > 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/
Previous Message
Next Message