> Hi, is there a way to clear a absolute positioned element? > For example: > > > <div style="position:absolute;"> > <p>some content</p> > </div> > > <div> > <p>some more content</p> > </div> > > > How do I make the second div appear after the first one and not on top > of it? Assume that I can't use float and the height of the first div > is unknown (its content is dynamically generated).
Is there a reason for not doing it like this? <div style="position:absolute;"> <div> <p>some content</p> </div> <div> <p>some more content</p> </div> </div> Granted, the second div will also be positioned absolute then, but it does follow your specs of the second one being placed right after the first one. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/