![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
div id='clear' style='clear:both; height:0px; overflow:hidden;'> </div |
#2
| |||
| |||
|
|
Won't div style="clear:both;"></div Work? No, that's even worse. That will put the "other"-div between the Left and |
#3
| |||
| |||
|
|
Lauri Raittila wrote: Won't div style="clear:both;"></div Work? No, that's even worse. That will put the "other"-div between the Left and Right. I can't decide why it does that... |
#4
| |||
| |||
|
|
Lauri Raittila wrote: Won't div style="clear:both;"></div Work? No, that's even worse. That will put the "other"-div between the Left and Right. I can't decide why it does that... |
#5
| |||
| |||
|
|
No, that's even worse. That will put the "other"-div between the Left and Right. I can't decide why it does that... That doesn't make any sense, really. If the third div has style="clear:both;", the 4th div can't go up between the first and second, unless you give it position:absolute; |
#6
| |||
| |||
|
|
Els wrote: No, that's even worse. That will put the "other"-div between the Left and Right. I can't decide why it does that... That doesn't make any sense, really. If the third div has style="clear:both;", the 4th div can't go up between the first and second, unless you give it position:absolute; That's what I thought. I does that, however, in Firefox. I sort of makes sense, using your own idea of empty things not being rendered. Plus some Firefox magic... |
#7
| |||
| |||
|
|
I didn't say empty things wouldn't be rendered, I said elements without volume. OK, fine. But a div without content could be said to have no volume. |
|
But <div style="clear:both;"></div> does have volume. I use it on all of my pages, and it works in all browsers too. It doesn't work for me. Some sort of space-time malfunction I guess... |
![]() |
| Thread Tools | |
| Display Modes | |
| |