HighDots Forums  

IE and scrollable divs

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss IE and scrollable divs in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christopher Benson-Manica
 
Posts: n/a

Default IE and scrollable divs - 01-08-2005 , 10:06 PM






I have a page up at http://ataru.gomen.org/test.html with the
following style:


body {
margin: 0px; padding: 0px;
height: 100%; width: 100%;
}
div.left {
position: fixed; left: 0px; top: 0px; bottom: 0px; right: auto;
width: 141px; height: 100%; margin-top: 0px; margin-left: 0px;
}
div.top {
position: absolute; left: 141px; top: 0px; bottom: auto; right: 0px; height: 75px;
}
div.content {
position: absolute; left: 141px; top: 75px; bottom: 0px; right: 0px; overflow: scroll;
}

This all looks lovely in Opera, but IE refuses to render the content
div in any remotely intelligent way. Am I doing something wrong? If
not, is there any way to coerce IE into rendering what Opera renders,
short of using some obscene JavaScript hack?

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.

Reply With Quote
  #2  
Old   
Rijk van Geijtenbeek
 
Posts: n/a

Default Re: IE and scrollable divs - 01-09-2005 , 10:18 AM






On Sun, 9 Jan 2005 04:06:46 +0000 (UTC), Christopher Benson-Manica
<ataru (AT) nospam (DOT) cyberspace.org> wrote:

Quote:
I have a page up at http://ataru.gomen.org/test.html with the
following style:


body {
margin: 0px; padding: 0px;
height: 100%; width: 100%;
}
div.left {
position: fixed; left: 0px; top: 0px; bottom: 0px; right: auto;
width: 141px; height: 100%; margin-top: 0px; margin-left: 0px;
}
div.top {
position: absolute; left: 141px; top: 0px; bottom: auto; right: 0px;
height: 75px;
}
div.content {
position: absolute; left: 141px; top: 75px; bottom: 0px; right: 0px;
overflow: scroll;
}

This all looks lovely in Opera, but IE refuses to render the content
div in any remotely intelligent way. Am I doing something wrong? If
not, is there any way to coerce IE into rendering what Opera renders,
short of using some obscene JavaScript hack?
MSIE does not support 'position:fixed'. There are ways to get a 'fixed'
behavior, but that is not as simple as straigforward as the styles you
used.

http://devnull.tagsoup.com/fixed/
http://limpid.nl/lab/css/fixed/

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen



Reply With Quote
  #3  
Old   
Christopher Benson-Manica
 
Posts: n/a

Default Re: IE and scrollable divs - 01-09-2005 , 10:40 AM



Rijk van Geijtenbeek <rijk (AT) operaremovethiz (DOT) com> spoke thus:

Quote:
MSIE does not support 'position:fixed'.
I noticed

THANK YOU for those links, they look like exactly what I'm looking
for!

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.