PDA

View Full Version : background image problem in ie



dlthomas
09 Dec 2010, 12:46 PM
I'm having an issue with ie and a background image. Basically I have a background image for the <body> that is suppose to appear at the bottom in the center.

The link:
I'm frantically trying to get it to work, so I'll give you the code that works with every other browser
hrnewseastanglia.com

My css is:



#body1
{
text-align:center;
padding:0;
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
background-color:#000;
background:url(images/golfBG1.jpg) center bottom no-repeat;
}


I can't make the image fixed or absolute in its own div.... I need it to sit right at the bottom of the page. Anyone know how to fix this in ie?

Iced Earth
09 Dec 2010, 09:30 PM
Oye...looks like a big mess...well it has an image URL twice for body1...but why wouldn't you put that image in the footer, and make the content area have the 'top' of the box? Since its all in wordpress...you don't want to absolutely position stuff, you want WP to be able to stretch things as needed...