Hi All,
I've run into an issue with a div I'm creating. It's a simple div that includes 3 columns in it.
It works fine in IE7, Firefox 2 and Opera 9, but in IE6 the center column drops below the others.
The three columns all hold images. Without the images the columns are fine. I think I'm not using the clear div properly, but I'm not sure.
If anyone has any ideas, or even a better way to code it, I love to hear it.
Thanks in advance...
Code:#boxBlueShadeAd { width: 600px; background: #fff url(/images/layout/blueShadeBack.png) no-repeat; } #boxBlueShadeAd .innertubeAd { padding: 11px; } #boxBlueShadeAd .leftAd { float: left; width: 186px; } #boxBlueShadeAd img { border: 1px solid #c3dbea; margin-bottom: 7px; } #boxBlueShadeAd .centerAd { margin-left: 196px; margin-right: 196px; } #boxBlueShadeAd .rightAd { float: right; width: 186px; } #clearAd { clear: both; }Code:<div id="boxBlueShadeAd"> <div class="innertubeAd"> <div class="leftAd"> <img src="/images/layout/spacer.png" width="184" height="98" alt="Left Ad" /> </div> <div class="rightAd"> <img src="/images/layout/spacer.png" width="184" height="43" alt="Right Ad 1" /> <img src="/images/layout/spacer.png" width="184" height="43" alt="Right Ad 2" /> </div> <div class="centerAd"> <img src="/images/layout/spacer.png" width="184" height="98" alt="Center Ad" /> </div> </div> <div id="clearAd"></div> </div>




The background-color's were added since I wasn't working with the actual images.
Bookmarks