...

View Full Version : Overflow: Auto fix?



Scriptdaemon
07-19-2007, 09:23 AM
I currently have an absolutely positioned div element which holds the page content. I have the page outlined so the window itself doesn't use a scrollbar, only the content div element, but the scrollbar doesn't appear in IE (nor Safari), but works fine in Firefox.

Here is a link to an example page:

http://moth.homelinux.com/~scriptdaemon/news.php

And here is a link to the CSS file:

http://moth.homelinux.com/~scriptdaemon/style/style.css

Does anyone know a fix for this without jeopardizing the layout of my page?

DMWhiteDragon
07-19-2007, 09:51 AM
http://www.quirksmode.org/bugreports/archives/2005/01/CSS_bottom_and_right_properties_in_IE_Strict.html

Seems like its more to do with the fact IE ignores the bottom property when using top and bottom together so there is no scrollbar and it grows past the bottom (exactly what its doing on my screen)

You may have to check out some workarounds... or change the layout design completely

Someone else here might be able to help more of course :)

Scriptdaemon
07-19-2007, 10:01 AM
Yeah, I already understand that the 'bottom' and 'right' attributes are bugged in IE, I was just hoping someone would have a fix. Thank you for the link, I will look into it more tomorrow.

_Aerospace_Eng_
07-19-2007, 10:23 AM
Looks like you'll have to approach this in a different way. There really is no quick fix.

http://www.cssplay.co.uk/layouts/body2.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum