W3C home > Mailing lists > Public > www-style@w3.org > February 2003

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

From: Rafael Otake <rafaelotake@hotmail.com>
Date: Fri, 28 Feb 2003 08:49:18 -0600
To: www-style@w3.org
Cc: roth@visualclick.de
Message-ID: <F83AO8ifEWmPnFLfIQc0002b242@hotmail.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT