Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background images NOT showing in IE 1

Status
Not open for further replies.

mRko81

Programmer
Apr 25, 2006
39
US
heres the layout:
Both HTML and CSS validate.


Mozilla plays along nicley no problem.

IE on the other hand is not showing some background images others are fine.

example of a working image:
Code:
#menuwrapper_bottom {
	background: url(../images/layout/menu_bottom.jpg) bottom center no-repeat;
	width: 200px;
	height: 31px; 
	}

example of a similar image that is not working:
Code:
#menuwrapper { 
	width: 180px;
	height: 200px;
	margin: 0 10px;
	background: url(../images/layout/logo.jpg) top center no-repeat;
	padding: 125px 0 50px 0; 
	}

both of these examples are from:
If you can see something i am missing then it would be much appreciated.
 
IE gets confused because the top part of the menu lies beneath the header images and breadcrumbs. I would personally rewrite the page is laid out because I mayself am confused by your way of doing things. Why not have two columns to begin with, left is navigation and right is header, breadcrumbs and content? It looks like that's how it looks.
 
I have re-written the way the html
this is what i have now:


Code:
#container {
        background-color: transparent;
	background-image: url([URL unfurl="true"]http://81art.com/projects/atlanticrealestate/images/layout/bottom_image.jpg);[/URL]
	background-repeat:  no-repeat;
	background-position: bottom;
	}

im am still missing an image. There is supposed to be a beige gradient that starts at the footer and blends to white but it is not showing in either browser. both HTML and CSS validate.

any ideas???
 
Your #container is zero size high. Make sure you put a dummy element at the bottom of the floated elements (with clear both specified) inside the container to make it extend all the way down. Then you'll probably also see the background.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top