Pria, >On 1/27/06, Guillaume <[EMAIL PROTECTED]> wrote: > > >>Hi list, >> >>I have two divs: first comes A and then B, both with unknown height. >>B is pushed up, positioned above A in the layout, using position: >>absolute; top: 0. >>Is there a css-way to retrieve a stack order, to place A just under B >>without specifying any margin-top value for A and this way avoiding >>overlap ? >> >> > > > >Hi Gullaume. >Is there any reason from you, >why you put B with absolute position? > >
The reason is wich content I want to appear first in the textual structure. In a semantic point of view and for spiders div B is more important than div A, wich is also very important but for the layout only. So semantically speaking we would have to put div B first and div A next, and for layout purposes push this last one up so it would appear first in the layout,. That's why imagined to use an absolute positioned element. >IMHO, if you put absolute position with B, >you can't place A below B. > > I had doubts about it but it's pretty clear now. Thank you for your answer Guillaume. > >-- >http://didats.net/page/291/jakarta-aku-datang/ >______________________________________________________________________ >css-discuss [EMAIL PROTECTED] >http://www.css-discuss.org/mailman/listinfo/css-d >List wiki/FAQ -- http://css-discuss.incutio.com/ >Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
