954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Header Image On The Move In IE9

Hi there, am working on a new website and was testing it in Chrome and Firefox (looks fine) and when testing it in IE9, the top header image has shifted way off to the right. I can't figure out how to get it to stay put.

Any suggestions from the brilliant audience members?

http://home.comcast.net/~waynetorrance/sunrisehill/

Thanks!

saucy6969
Light Poster
34 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

Hi

I think, it may have something to do with the DOCTYPE you specified, that may not switch IE into compliance mode.

Your doctype:

<!doctype html>


I may be wrong, but see if there is any difference when you use a doctype like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">


or:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">


Both declarations switch Internet Explorer 6 and later to standards-compliant mode, but then you may find that some css code will not be validated.

Kraai
Senior Poster
3,981 posts since Feb 2008
Reputation Points: 76
Solved Threads: 87
 

Worked like a gem! Thanks so much for your time!

saucy6969
Light Poster
34 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

I'm glad it worked out for you.

Good luck

Kraai
Senior Poster
3,981 posts since Feb 2008
Reputation Points: 76
Solved Threads: 87
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: