On Apr 13, 2009, at 7:01 AM, Brian Hazelton wrote:

>> Really interesting link thanks. Last question on the subject, is it  
>> impossible to condense this code? (As the borders are different I  
>> imagine it is) Thanks:
>>
>> BORDER-RIGHT: #333 0px solid;
>> BORDER-TOP: #333 0px solid;
>> BORDER-LEFT: #333 0px solid;
>> BORDER-BOTTOM: #fff 5px solid;
>>
> combine I think is impossible, but you could share them. Here is  
> what I
> mean: since the first three are the same go like this
>
> border-right, border-top, border-left{
> #333 0px solid
> }
> border-bottom{
> #fff 5px solid
> }

??

The above is completely non-sensical. It says:
for elements 'border-right', 'border-top' and 'border-left', apply the  
following: '#333 0px solid'. Apply to what ? No property is specified.

'border' is a property, not a selector.

Assuming, as Holly does, the intent is to override some previous  
setting:

selector {
        border:none;
        border-bottom: #fff 5px solid;
}

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to