...

View Full Version : Huge Gap in IE6 & IE7 - Using Conditional Comments



vraymer
10-22-2009, 08:14 PM
Using IE If Statements to target the bugs in different versions of Internet explorer.

IE 8 is perfect!

IE 6 & 7 are giving me a huge gap between my first content box and whatever is below it. On every page except the home page.

I've been playing with the conditional statements and can't figure out what is causing it.

Below is the css for that top content box...

<code>
#wrapper #body #apartments-header {
height: 250px;
width: 900px;
background-image: url(../images/apartments-headerBG.png);
clear: left;
float: left;
background-repeat: no-repeat;
margin-bottom: 10px;
}
</code>

Also, here is a link to the live site
kamohousing.com (http://www.kamohousing.com)

Your help is greatly appreciated!

jrp1
10-23-2009, 02:09 AM
Try this out.

<code>
#wrapper #body #apartments-header {
height: 250px;
width: 900px;
background-image: url(../images/apartments-headerBG.png);
clear: left;
float: left;
background-repeat: no-repeat;
position: relative;
bottom: 10px;
margin-bottom: 100%;
}
</code>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum