|
|
 |
Re: FN-FORUM: Correct CSS
date posted 29th January 2004 12:52
Combining them all, otherwise its almost like repeating yourself, repeating
yourself ;)
Best Regards
D Thomas
http://www.thomas-design.co.uk
[EMAIL REMOVED]
t - 0870 162 0723
----- Original Message -----
From: "Neelesh Sonawane" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, January 29, 2004 1:09 PM
Subject: FN-FORUM: Correct CSS
>
> 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]
>
>
> --
> ** Get all the Freelance Work you Can Handle *
> The Web Design Business Kit will show you proven tactics
> and strategies for marketing your business, winning bids,
> managing projects and pricing your work. Free Shipping Worldwide.
> Read more & get free chapters at:
http://www.sitepoint.com/launch/b7c91e/3/4
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|