relative positioning of floats
Posted 2002-10-17 @ 23:16:40
I posted this question to www-style (twice), but got no response.
According to the
CSS2
specification, An element is said to be
positioned if its 'position' property has a
value other than 'static'.
That's clear enough, but the spec
appears to contradict itself in its definition
of the
float
property. One one hand, it's said that
float applies to all but
positioned elements and generated content
,
which, by definition, means that elements with
position:relative cannot
be floated. But, the very next paragraph goes on
to say that [float] may be set for elements
that generate boxes that are not absolutely
positioned.
So, can an element with position:relative be floated?