Alec S. wrote:[color=blue]
> Hi,
>
> I need help redesigning my website. I want to have a header, contents
> bar, main content, and footer. I want the whole thing to be static, that
> is, I want all sections to be visible at all times with the main content
> section being scrollable. Like this:
>
> +------------------------------------+
> | logo |
> +--------+---------------------------+
> | menu | main content, with |
> | | scrollbars if the content |
> | | is too long |
> | | |
> +--------+---------------------------+
> | misc data |
> +------------------------------------+[/color]
My site (sig) does this but without the footer. I would imagine that
shouldn't be too hard to add in. Note that it only works on browsers
that support position: fixed; - there are work-arounds for IE but I
refuse to cobble them in on principle.
Almost all sizes are specified in em units, so the whole thing is
resizable. Only the header bar size is fixed, so the top left links get
a bit unwieldy at very large font sizes. That's a trade-off I've chosen
to make.
You might find this article on dynamic resizing interesting:
http://www.themaninblue.com/writing/...ve/2004/09/21/
He uses a Javascript style switcher to change layout if the window size
gets too small for the normal layout. I use this to good (IMO) effect on
my latest creation:
http://step-by-step.org.uk/
Shrink the window width below 695px and the header, menu and
"decoration" images resize and.
--
Mark.
http://tranchant.plus.com/