Hello, i just created my frist tableless website using divs and css. theres basically no style to it yet, just want to get the page layout taken care of first. My site looks fine in IE but not quite in FF. the problem is with the 728x90 box near the footer. that 728x90 box is going to represent a 728x90 banner. if you compare between firefox and internet explorer you can see the issue. any tips? thank you my site popularvirals-dot-com
It is an overlapping problem, to fix this just add this to your CSS: .ads-footer { clear:both; ... } Also add this to the body to make it fit in IE. .body { margin:0; padding:0; ... }
thanks, that did it. do you think you can give a explanation of what i just added, im still trying to learn what all the properties mean.
Float clearing can be one of the most frustrating aspects of CSS development. It takes a little bit of patience and thought to set up your floats and clears in a way that facilitates both your design and the flexibility required in a modern website.
You'll find some useful technique and some explanation about "clear: both" by search "quirksmode.org clear: both" in Google. However, the new solution wasn't applied because the "width: 100%". In fact I'm facing this problem when I learning to create Tableless website, there had many other technique you'll need to learn later.