1 reply [Last post]
n00ge
Offline
Regular
Last seen: 14 years 16 weeks ago
Timezone: GMT-5
Joined: 2004-01-02
Posts: 32
Points: 0

I'm wondering if it is possible to have a header div and a content div (or iframe) and have the content div (or iframe) be 100% height minus (-) the height of the header. I hate using tables, I know you could do it that way but they are just a nightmare. Same with framesets, which I know could also achive this.

Articles and personal work
http://www.creativeruin.com

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 5 days 10 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Div Height

Hi n00ge,
One way you may be able to get what you want is to position the header div absolutely and give the content div padding-top equal to the height of the header.

Hope that helps