4 replies [Last post]
hungeri
Offline
newbie
Last seen: 11 years 42 weeks ago
Joined: 2008-10-19
Posts: 2
Points: 0

Hello there,

I just have read the 100% height how to post, but I need something more. I not only need headers and footers, but a DIV between them, which is dynamical according to the screen resolution but its content may be larger, so I need this DIV with "overflow: auto" to work. There is a solution, which works in IE7/FF and Opera but does not work in IE6:

DIV {
position: absolute;
top: 400px;
left: 0px;
width: 240px;
bottom: 80px;
overflow: auto;
}

This gives me the result what I wanted, but not in IE6. What is the solution to make this DIV ok in IE6 or other incompatible browsers, as well?

Thank You in advance!

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 43 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Something like this?

Something like this?

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Stomme poes
Stomme poes's picture
Offline
Elder
Netherlands
Last seen: 8 years 41 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2008-02-04
Posts: 1854
Points: 378

Yeah except without quirks

Yeah except without quirks mode.

I'm no expert, but I fake one on teh Internets

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 30 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

you've been top trumped by

you've been top trumped by poes Tyssen Smile

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

hungeri
Offline
newbie
Last seen: 11 years 42 weeks ago
Joined: 2008-10-19
Posts: 2
Points: 0

Thank You Guys, both Tyssen

Thank You Guys, both Tyssen and Stomme poes,

I'll try out the two examples wheather I can adopt them, if not, You'll see me again Smile

P.S. to Tyssen: I didn't want to flood the post with my code, I believed this part of CSS is enough, but next time... Smile