This is a discussion on "100% height minus header" within the Web Page Design section. This forum, and the thread "100% height minus header are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
100% height minus header
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
100% height minus header
Hi! Basically i am trying to create a layout where the main content is 100% height of the page minus a fixed size header.
I have received some great help and have came to this http://tinyurl.com/3dkeuh - html http://tinyurl.com/2nq868 - css The page looks perfect in ie 6 but in other browsers such as ie 7, firefox and safari the frames that hold the content and nav are only small in size, i want to replicate the ie 6 results and get the frames to stretch the full height of the page. I am certain this is a CSS error and any help on the matter would be greatly appreciated! Thanks, -Exodus |
|
|
|
|||
|
Re: 100% height minus header
|
|
|||
|
Re: 100% height minus header
That dosen't seem to have changed anything. Any other ideas?
|
|
|||
|
Re: 100% height minus header
change css to this.
|
|
|||
|
Re: 100% height minus header
That would be okay except i am trying to keep the layout as fluid as possible
If i set the height of the frames to a fixed size, i.e. around 420px as you suggested, it would look fine in some resolutions and appear to fill the remainder of the page but in other resolutions the user may need to scroll to see the entire page which is not what i want. |
|
|||
|
Re: 100% height minus header
Haven't look at the code but instead of the 420px suggestion that was made, how about a height of 80% or whatever gives you the perfect height? 88%???
|
|
|||
|
Re: 100% height minus header
it is looking unlikely that you can set the iframe height to 100% for firefox
ive been googling for about 1hr and I think the only way to do this is with javascript. |
|
||||
|
Re: 100% height minus header
What you will need to do is set the body a width of 100%... Once you've done this, change the content area to suit.
|
|
|||
|
Re: 100% height minus header
i dont really need to use frames but i do want to.
i think i should abandon using frames because everyone i ask seems to advise me to do that and they seem to be causing all the problems. |
|
|||
|
Re: 100% height minus header
there is a javascript I found on the net.
Maybe it can be tweaked by someone who knows about javascript. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make a table height equal to the browser height ? | subhadip | Starting Out | 4 | Sep 20th, 2007 07:56 |
| php header ( need help) | csun | PHP Forum | 2 | Mar 18th, 2007 23:46 |
| Header Help | eulB | Graphics and 3D | 5 | Jun 12th, 2006 22:21 |
| Please help, I need a new header(s) | mizbuffie | Graphics and 3D | 2 | May 22nd, 2006 04:04 |