[css-d] How to 'clear' absolute?

2008-10-30 Thread Chang Huang
Hi, is there a way to clear a absolute positioned element? For example: div style=position:absolute; psome content/p /div div psome 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

Re: [css-d] How to 'clear' absolute?

2008-10-30 Thread Gunlaug Sørtun
Chang Huang wrote: Hi, is there a way to clear a absolute positioned element? No. A:P elements take up no space, and therefore can't be cleared or otherwise interacted with space-wise. You can prepare a space for the A:P, and control any expansion beyond that by using some kind of 'overflow:

Re: [css-d] How to 'clear' absolute?

2008-10-30 Thread Mark Senff
Hi, is there a way to clear a absolute positioned element? For example: div style=position:absolute; psome content/p /div div psome 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

Re: [css-d] How to 'clear' absolute?

2008-10-30 Thread Chang Huang
Hi, yes and no, because the element that follows the parent div with be on top of the parent div itself. What I'm trying to do is make this markup into tabs: div id=tabs h3a href=#Tab1/a/h3 divTab 1 Content/div h3a href=#Tab2/a/h3 divTab 2 Content/div h3a href=#Tab3/a/h3 divTab 3