Groups > Design > Macromedia DreamWeaver > Spaces between DIVS in IE 6




Spaces between DIVS in IE 6

Spaces between DIVS in IE 6
Thu, 10 Apr 2008 14:22:42 +000
On this page http://www.jesseyoung.com/airdale/beers.shtml everything looks 
fine in all browsers except IE 6.0.

 In 6.0 there is a large gap at the bottom of the layout between the DIVS 
"contentBox" and "bottomCurve".

 Any suggestions on why this is happening? Here's the CSS:

 /* CSS Document */

 body {
 	text-align:center;
 	font-family: Geneva, Arial, Helvetica, sans-serif;
 	font-size: 62.5%;
 	margin-top: 0px;
 	background-image: url(images/BG_clouds.jpg);
 	background-repeat: no-repeat;
 	background-position: center top;
 	background-color: #6d370d;
 }

 /* Sets all margins and padding to zero*/

 * {
 margin: 0;
 padding:0;
 }

 /* Main Wrapper*/
 #wrapper {
 	text-align:left;
 	width:911px;
 	position:relative;
 	height: auto;
 	margin-top: 0;
 	margin-right: auto;
 	margin-bottom: 0;
 	margin-left: auto;
 	font-size: 1.2em;
 }

 /* Main Layout */
 #left {
 	background-color: #CCCCCC;
 	width: 200px;
 	float: left;
 }
 #picture {
 	float: left;
 	width: 130px;
 	background-color: #999999;
 	margin-right: 5px;
 	margin-left: 5px;
 	margin-top: 20px;
 }

 #right {
 	background-color: #666666;
 	float: left;
 	width: 560px;
 }
 #headerBand {
 	height: 120px;
 	width: 911px;
 	float: left;
 }
 #logoBox {
 	float: left;
 	height: 50px;
 	width: 220px;
 	color: #CCCCCC;
 	padding-left: 30px;
 	padding-top: 50px;
 }
 #navBox {
 	float: right;
 	height: 60px;
 	width: 600px;
 	padding-top: 20px;
 }

 #contentWrapper {
 	float: left;
 	width: 911px;
 	background-repeat: repeat;
 }
 #topCurve {
 	background-image: url(images/topCurve.jpg);
 	background-repeat: no-repeat;
 	float: left;
 	height: 35px;
 	width: 911px;
 }
 #contentBox {
 	float: left;
 	width: 751px;
 	background-image: url(images/BG_content.jpg);
 	background-repeat: repeat-y;
 	background-position: top;
 	padding-right: 80px;
 	padding-left: 80px;
 	background-color: #FFFFFF;
 	padding-top: 20px;
 	padding-bottom: 20px;
 }
 #bottomCurve {
 	float: left;
 	height: 38px;
 	width: 911px;
 	background-image: url(images/bottomCurve.jpg);
 	background-repeat: no-repeat;
 }





 /*
 JESSE FOOTER CREDITS
 */
 a.jesse:link {
 	color: #FFC604;
 	font-size:8pt;
 	font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
 	text-decoration: none
 }
 a.jesse:visited {
 	color: #FFC300;
 	font-size: 8pt;
 	font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
 	text-decoration: none
 }
 a.jesse:hover {
 	color: #FFC301;
 	font-weight: bold;
 	font-size: 8pt;
 	font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
 	text-decoration: none;
 	letter-spacing: 1pt
 }
 a.jesse:active {
 	color: #FFC505;
 	font-size: 8pt;
 	font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
 	text-decoration: none
 }



 #jesseCredit {
 	width: 800px;
 	margin-right: auto;
 	margin-bottom: 10px;
 	margin-left: auto;
 	padding-bottom: 50px;
 }

 /*
 PAGE FOOTER
 */

 #footer a:link {
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 8pt;
 	color: #F7BB00;
 }

 #footer a:visited {
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 8pt;
 	color: #F7BB00;
 }

 #footer a:hover {
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 8pt;
 	color: #F7BB00;
 }

 #footer a:active {
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 8pt;
 	color: #F7BB00;
 }



 #footer{
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 8pt;
 	color: #F7BB00;
 }

 #footerBox {
 	width: 800px;
 	padding-top: 0px;
 	margin-right: auto;
 	margin-left: auto;
 	margin-bottom: 30px;
 	color: #FEC202;
 	margin-top: 0px;
 }
 #beerBottle {
 	background-repeat: no-repeat;
 	position: absolute;
 	left: 32px;
 	top: 160px;
 	height: 119px;
 	width: 848px;
 }



 /*
 Navigation Banner
 */

 #navigationBanner {
 	background-color: #0033FF;
 	height: 50px;
 	width: 760px;
 }


 /*
 Clears floats within container, so container continues to wrap around contents
 */
 .clearfix:after {
 content:".";
 display:block;
 height:0;
 clear:both;
 visibility:hidden;
 }

 .clearfix {display:inline-table;}
 /*Hides from IE-mac\*/
 *html .clearfix {height:1%;}
 .clearfix {display:block;}
 /*End hide from IE-mac */
 #homeText {
 	float: left;
 	width: 550px;
 }

Post Reply
about | contact