homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
IE8 css Position:Absolute and overflow issue
Page works fine in FireFox, IE8 won't scroll.
robbierob27




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

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

 

SuzyUK




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

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

robbierob27




msg:4161426
 4:10 pm on Jun 29, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved