To further the education of mankind, "Roderik" <em******@gmail.com>
vouchsafed:
>
Neredbojias wrote:
>To further the education of mankind, em******@gmail.com vouchsafed:
I like to make a frame-alike layout without frames, that clips to
the viewport.
An image of the layout can be found here:
http://www.roderik.net/layout.png
Preferably I make it using CSS, but maybe some javascript is
necessary. What is the best to obtain the layout as in the image?
That's basically a 2-column layout with padding at top of the columns
and the header section absolutely-positioned.
How do you get the height right in that case (it should clip to the
viewport)?
Set html,body to 100% height and the lower (vertical) divs the same,
applying to them overflow-auto. As Martin Eyles pointed out, position-
fixed is preferred yet not supported in ie6 but the method I suggest does
work.
--
Neredbojias
Infinity has its limits.