Welcome to WebmasterWorld Guest from 54.224.17.208

Forum Moderators: incrediBILL

Message Too Old, No Replies

IE8 css Position:Absolute and overflow issue

Page works fine in FireFox, IE8 won't scroll.

     
3:28 pm on Jun 29, 2010 (gmt 0)

5+ Year Member



Have a quick question for you guys. One of my websites, [richardsonautocare.com ] was tested a few months ago in FF and IE and performed fine. Today I got a call complaining about how the site doesn't scroll in IE, and if you do find a way to scroll the page, the absolute positioned footer scrolls with the whole page. Open the page in FF and in IE to see the difference.

On my content div, I have Overflow:Auto set, and this has previously added scroll bars exactly as I wanted. Also, on the divs with less content, the div background does not fill out the complete div width and height.

Very odd, anyone know why this just started happening all of a sudden? Some IE update? I tried using IE7 Emulate mode, with no improvement.

Thanks in advance for any help.

Rob
3:50 pm on Jun 29, 2010 (gmt 0)

WebmasterWorld Senior Member suzyuk is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Rob I dunno why the difference is "all of a sudden" unless those comments at the top of the HTML code have been recently inserted?

Those comments are making IE render the page in IE5 (Quirks) Mode and is likely why IE8 is not making a difference

I forced the paged out of quirks mode with the dev toolbar and it seem to work fine in IE7 and IE8 standards modes, so moving those comments should help ;)

Anything preceding the <!--Doctype ... --> will force IE (even 8) into quirks mode
4:10 pm on Jun 29, 2010 (gmt 0)

5+ Year Member



Suzy, knew it had to be something dumb. Not sure when those were added or when this popped up.

Thanks for your quick reply, saved me a ton of time.

Rob
 

Featured Threads

Hot Threads This Week

Hot Threads This Month