Previous Message
Next Message

Proper way to write code for css borders?

Sent by Martin Alderson on 29 November 2004 20:08


Keep in mind that any web host worth their salt will have an option to
put gzip on which will compress your pages (and stylesheets!) as they
are sent. Therefore, it doesn't really matter - most of my 15KB CSS
files come down to about 3KB when compressed with the normal (level
3?) gzip profile.

Martin.

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/
>
______________________________________________________________________
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

Message thread:

Possibly related: