W3C home > Mailing lists > Public > www-style@w3.org > September 2002

Clarification on float & position:relative

From: Kevin Smith <k.smith@tatnet.com>
Date: Tue, 10 Sep 2002 13:59:26 -0400
To: <www-style@w3.org>
Message-ID: <B9A3AB3E.131A0%k.smith@tatnet.com>

I'm looking for clarification on CSS2's float definition:

  <http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-float>

It states that float applies to "all but positioned elements and generated
content", which would mean that float can only be set for elements whose
'position' property has a value of 'static'[1]. OTOH, the very next
paragraph says that "[float] may be set for elements that generate boxes
that are not absolutely positioned."

So, can float be set for relatively positioned elements?


[1] <http://www.w3.org/TR/REC-CSS2/visuren.html#position-props>

--
kevin c smith                                      tel: 410.571.9462
k.smith@tatnet.com                             http://www.tatnet.com
Received on Tuesday, 10 September 2002 13:58:56 GMT

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