PDA

View Full Version : background image problem in ie



dlthomas
09 Dec 2010, 11:46 AM
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, 08: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...

caryfloric
03 Apr 2014, 02:53 AM
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

I can't programming the image (http://www.rasteredge.com/how-to/vb-net-imaging/sdk-programming/) fixed or absolute in its own div.... I need the image to display (http://www.rasteredge.com/how-to/vb-net-imaging/create-web-viewer/) right at the bottom of the page. Anyone know how to fix this in ie?

What IE version are you using? Have you tried to insert image file in other formats, like png?

Here I post a link which is talking about the same issue.

http://forums.phpfreaks.com/topic/282620-background-image-problem-with-ie/