We help IT Professionals succeed at work.
Get Started

Background Image Position y% does not render correctly in IE

746 Views
Last Modified: 2013-12-08
Greetings,

I'm positioning a background image in the body element using the CSS in the code window below.  I'm using 50%, -30% because it's only way I can adjust the picture so that it drops down exposing image properly.  This renders perfectly in FF and I can continue to adjust the Y axis of the background image easily but in IE the -30% seems to have no affect whatsoever.  From what I know, this should work in IE as well.

Question: how do I get the backtground image position % to work in IE so I can adjust both the X and Y axis image positions?

I've attached pics to show what is happening.


body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: url(Images/osi_background5.jpg) 50% -30% no-repeat #03407f;
	margin: 0;	
                padding: 0;
	text-align: center; 
	color: #000000;
}

Open in new window

ffbgimage.JPG
iebgimage.JPG
Comment
Watch Question
Web Developer
CERTIFIED EXPERT
Top Expert 2006
Commented:
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE