- From: Douglas, John <JDouglas@GTNInc.com>
- Date: Thu, 4 Sep 2003 15:46:37 -0400
- To: "'www-style@w3.org'" <www-style@w3.org>
I'd like to request that the height of an element automatically expand to include any boxes contained within that are either floating elements or absolute positioned elements. When attempting to use CSS for layout, rather than tables, I found myself forced into using nested float elements. In previous browsers (Moz 1.3, IE 5.5/6, Netscape 6.2) the result was fine. But when Moz 1.4 came out and their browser implemented CSS2.1, I found myself lost. I see no reason why nested floats or absolute positioned elements should not be considered in the height of its parent. If the designer/developer doesn't want the floating or absolutely positioned element to have an effect on its parent element, they would be best to NOT nest the element in the first place. Take a look at www.likelola.com <http://www.likelola.com> using Moz 1.3, IE 5.5/6, or Netscape 6.2, and tell me how I can accomplish such a design using CSS2.1 if nested floats don't function this way...I could use tables for layout...but that's not what tables are for :-( Thanks! //john jdouglas@gtninc.com
Received on Thursday, 4 September 2003 15:49:02 UTC