[thelist] Filling up with the left overs

lancelot lancelot at noblocodenotas.com
Sat May 29 08:56:37 CDT 2004


Marcus wrote:

>they are always positioned relative but the float may vary...

Hold on a sec, Marcus: if you declare a div {position:whatever;}, you can't
declare it {float:whatever;}. I mean either it is positioned or it is not (a
float it is out of the flow of the html's elements).

If you have a div {float:whatever;} and you don't want it to overlap other
elements you should put another div {clear:both}, either a new one or use an
already used one simply declaring it so

thus:

<div style="float:left;">your content</div>
<div style="clear:both"></div>

This way the div you eventually put immediately after the first float won't
get overlapped by the float.

Good luck with it!! And a big hug!

Paolo Dodet
http://www.noblocodenotas.com


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/04



More information about the thelist mailing list