How you assign them in the class attribute has no bearing.

On Tue, Oct 1, 2013 at 2:45 PM, Chris Rockwell <ch...@chrisrockwell.com>wrote:

> http://www.w3.org/TR/CSS2/cascade.html#cascading-order
>
> In your example, width is 30em;
>
>
> On Tue, Oct 1, 2013 at 2:40 PM, Philip Taylor <p.tay...@rhul.ac.uk> wrote:
>
>> Consider :
>>
>>         .c1 {width: 20em}
>>         .c2 {width: 30em}
>>
>>         <DIV id="i1" class="c1 c2">...</DIV>
>>         <DIV id="i2" class="c2 c1">...</DIV>
>>
>> What widths do i1 and i2 have, and why ?  Answers by reference
>> to the relevant W3C specification(s), please, not by experiment
>> or guesswork !
>>
>> Philip Taylor
>>
>>
>> ______________________________________________________________________
>> css-discuss [css-d@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/
>>
>
>
>
> --
> Chris Rockwell
>



-- 
Chris Rockwell
______________________________________________________________________
css-discuss [css-d@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