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>

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."


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; }

'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.  
Received on Friday, 28 February 2003 09:49:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:06 UTC