T
Thomas Scheffler
Hi,
I have a difficult layout and I don't want to use tables or javascript
for it.
******************************************
* LOGO * <-- variable --> *
******************************************
* ^ * *
* T * *
* i * *
* l * *
* l * *
* * CONTENT *
* B * *
* O * *
* T * *
* T * *
* O * *
* M * *
******************************************
* <-- variable --> *
******************************************
So I hope this can be understood but I try to explain it further.
The page as a logo which is at the top left corner. There is a header
right next to the logo which should expand when the window is resized.
At the left there should be some kind of navigation panel which should
expand to the bottom so the CONTENT should do the same. At the bottom
there is a footer.
So this should be the behaviour: If the content is to big for the page
the user has to scroll of cause. But if not the window should be
"filled" to 100%. This means the footer has to be at least at the bottom
of the browser window. If the window is resized, it should be adjusted
that way. There should be no horizontal scrollbar of cause.
It's easy to implement this with css and a classic table. But how do I
do this with nothing more than CSS and divs?
The diffs should appear in this order for accessibility reasons:
LOGO, HEADER, NAVI, CONTENT, FOOTER...
Is anybody skilled with this knowledge? The best I get was either the
footer is at the bottom of the screen and is overlapping the content partly:
*************************************
* *
* CONTENT IS HERE *
*************************************
* FOOTER *
*************************************
* .... AND HERE *
* *
* *
*************************************
Or the other extreme the footer is always at the bottom of the navi AND
the CONTENT, but this could be the middle of the page, the content and
navi divs are not streched to "nearly 100%" then.
So how do I do this?
Cheers
Thomas
I have a difficult layout and I don't want to use tables or javascript
for it.
******************************************
* LOGO * <-- variable --> *
******************************************
* ^ * *
* T * *
* i * *
* l * *
* l * *
* * CONTENT *
* B * *
* O * *
* T * *
* T * *
* O * *
* M * *
******************************************
* <-- variable --> *
******************************************
So I hope this can be understood but I try to explain it further.
The page as a logo which is at the top left corner. There is a header
right next to the logo which should expand when the window is resized.
At the left there should be some kind of navigation panel which should
expand to the bottom so the CONTENT should do the same. At the bottom
there is a footer.
So this should be the behaviour: If the content is to big for the page
the user has to scroll of cause. But if not the window should be
"filled" to 100%. This means the footer has to be at least at the bottom
of the browser window. If the window is resized, it should be adjusted
that way. There should be no horizontal scrollbar of cause.
It's easy to implement this with css and a classic table. But how do I
do this with nothing more than CSS and divs?
The diffs should appear in this order for accessibility reasons:
LOGO, HEADER, NAVI, CONTENT, FOOTER...
Is anybody skilled with this knowledge? The best I get was either the
footer is at the bottom of the screen and is overlapping the content partly:
*************************************
* *
* CONTENT IS HERE *
*************************************
* FOOTER *
*************************************
* .... AND HERE *
* *
* *
*************************************
Or the other extreme the footer is always at the bottom of the navi AND
the CONTENT, but this could be the middle of the page, the content and
navi divs are not streched to "nearly 100%" then.
So how do I do this?
Cheers
Thomas