bkfake-google@yahoo.com wrote in news:1112813364.799280.315770
@f14g2000cwb.googlegroups.com:
[color=blue]
> almost, but not quite..
> that assumes I know the "header" area is X% high
> I don't know the header's content's height
>
> In this current problem this header area displays the levels of
> navigation
> in a
> level1
> level2
> ....
> type format
>
> I don't know how many lines will be there, what each lines line-height
> will be, etc...[/color]
Then this shouldn't be a problem at all, if I know what you're talking
about. If you have a div that is set as the header, or even leave them
out of their own division, any height that they have, so long as they
are set, or computed automatically (the default, IIRC) then the rest of
the body will fill the page. You only have to explicitly state the
vertical heights of objects if you specifically want a certain height,
normally this is all calculated automatically.
<div class="header">
<h1>Something</h1>
<h2>Something else</h2>
</div>
[insert body here...]
If that is all you are looking for...which you seem to be saying, the
"header" will of course scale to the proper height of h1 and h2. But I
think you already know this, so I'm a bit confused....
--
Arctic Fidelity <spam@sacrificumdeo.net>
<http://www.sacrificumdeo.net>
"Beware of bugs in the above code; I have only proved it correct, not
tried it." -- Donald Knuth