Link to home
Start Free TrialLog in
Avatar of jabronicus
jabronicus

asked on

CSS: Relative positioning and IE7

I am using relative positioning for the header of http://pnwprop.u59.ssllcweb.com/index.cfm

It is displaying correctly in Firefox and Chrome, naturally IE is wreaking havoc. Haven't used relative position extensively so any help on getting this worked out greatly appreciated.

thanks
Avatar of firozmusthafa
firozmusthafa
Flag of India image

That's because of IE7 compatibility problem, always view your website in compatibility mode...
Your code is OK!
It's just IE7...
Avatar of Morrisproject
Morrisproject

try adding
float:left to #slideshow

and add position:relative; to #header
Avatar of jabronicus

ASKER

Morrisproject...tried it, still displaying incorrectly in IE7

firoz...IE8 has settings for compatibility mode, not IE7, correct?
you are absolutely correct
but IE7 do have compatibility problem
refer here:
http://msdn.microsoft.com/en-us/library/bb250496(VS.85).aspx
It is a position issue which should be able to be resolved testing different methods of floats and relative divs.

Unfortunately it would take some time to download all the appropriate files and put the page into a testing environment.

I would suggest to try changing some of the positioning etc
ASKER CERTIFIED SOLUTION
Avatar of myderrick
myderrick
Flag of Ghana image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
myderrick - exactly! Thanks for catching that for me.  IE as always = more work.