Forum Moderators: not2easy

Message Too Old, No Replies

Float clear issue

         

nextadvantage

4:26 pm on Oct 31, 2007 (gmt 0)

10+ Year Member



I am having issues when I float content to the left and then float content to the right, if I don't allow room for the blocks not to touch the right float clears the left, is there an option to make it always NOT clear and overlap. If not how can I ensure they float in all browsers properly. thx

HOTmike

5:01 pm on Oct 31, 2007 (gmt 0)

10+ Year Member



off the top of my head:
try doing the "float right" before the "float left", give both a "position:relative;top:0px;", and give one of them a z-index to control which gets to overlap the other.

Xapti

11:42 pm on Nov 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Uhh...floats can never overlap... (just like normal things never overlap normally) well unless they are positioned relatively... but the example mentioned before me didn't actually move the element relatively, so i doubt it would work. Overlapping would only occur if an object was relatively MOVED over x distance, and it will only overlap for the X distance it was moved.