Jump to content

Image not showing in IE6


jpkuelho

Recommended Posts

just started this simple CSS , it just has 3 background images and one logo gif which is not showing on IE6

body {   margin:auto;   }   a {	border: 0;}   #bg1 {   float:left;   background-image:url("images/bg/bg_01.jpg");   width:1024px;   height:237px;   }   #bg2 {   float:left;   background-image:url("images/bg/bg_02.jpg");   width:1024px;   height:237px;   }   #bg3 {   float:left;   background-image:url("images/bg/bg_03.jpg");   width:1024px;   height:237px;   }   img.logo {	float:left;    z-index:1;	position:absolute;	left: 88px;	top: 158px;	}            

Link to comment
Share on other sites

ok now the problem is that IE expands the height of the document so it creates a white space after the end of the backgroundI know the problem is with the logo image I just don't know what to do to fix it

img.logo {	position:relative;	left: 88px;	bottom:550px;	width: 99px;}   html>body img.logo {	position:absolute;	left: 88px;	top: 158px;	bottom:auto;	width: 99px;	height:230px;	}

the white space is the same height as the logo ¬¬'

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...