Re: [CSS21] 'position: relative' + 'left' and 'right'

Hi.
In the CSS2 6.4.1 spec, rule No. 4 it says:
"Finally, sort by order specified: if two rules have the same weight, origin 
and specificity, the latter specified wins."

http://www.w3.org/TR/REC-CSS2/cascade.html#computed-value

They are not at the "same time", one is after the other.

Rafael Otake


>>I am unclear how the following is supposed to be rendered:
>><p><span>RELATIVE INLINE</span>A lot of dummy text. ... </p>

>>given this stylesheet:

>>   p { font-size: 12pt; }
>>   span { position: relative; left: 4em; right: 4em; }

using
'left' and 'right' at the same time (which I haven't found in the CSS21
specification), I'd assume that the two displacements ('4em' each) would
cancel out each other.



_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
http://photos.msn.es/support/worldwide.aspx

Received on Friday, 28 February 2003 09:49:55 UTC