[thelist] CSS - Float area not fully changing to background color

Brian Reaves brian at brianreaves.com
Wed Nov 17 11:27:07 CST 2004


I have seen and used a couple of methods to help a float area get
completely covered by a background color. EX: <div class="space"> </div>
or <div class="space">&nbsp;</div> after the float, while .space is
clear=both. I have also used <br clear="all" /> in the past.

Neither one of these methods will work 100% for me in this situation
(http://p4fun.com/contact.php). I am only noticing this issue on Gecko
browsers; Bottom of the page inside the #footer div (navigation & phone
#) the first time the page loads & when you hold down the "shift" key 
while reloading the page (Loads fine when you don't hold down the 
"shift" key) the blue area doesn't cover #footer area.

There is a: <div class="space"> </div> at the end of #footer div which
allows it to work on reload w/out "shift". I can make it work all the
time using: <div class="space">&nbsp;</div> but this adds a carriage
return and thus unneeded space.

Suggestions?
-- 

==============================================
Brian W. Reaves
http://BrianReaves.com
(334) 462-6850

Web Site's Powered by the Sun!


More information about the thelist mailing list