Ian Rutgers wrote:
> http://www.breakthe800.ca/test/jared/index.php. 

> 1. header at top of page 
> 2. footer at absolute bottom of page (displayed) 
> 3. contents to scroll if not enough space to display all 
>  
> Can this be done with CSS?  I was playing with overflow:auto but it does
> not appear to work … can you please take a look at my code and let me
> know what I am doing wrong?

What you got now behaves like a version of "footerStickAlt"...
<http://www.themaninblue.com/experiment/footerStickAlt/>
...where you only need a bit more space added at the bottom of content 
to prevent the lower part of it being permanently covered by the footer 
on short windows.


OTOH: it looks and sounds like you mean:

1: header on top of browser-window.
2: footer on bottom of browser-window.
3: contents to scroll when necessary.

...which points to regular 'position: fixed'...
<http://www.w3.org/TR/REC-CSS2/visuren.html#fixed-positioning>

If so, then this article should contain all necessary information...
<http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/>

The concept itself is used on my home-pages and section-maps...
<http://www.gunlaug.no/main-en.html>
...although I don't use a visible fixed header but instead a sidebar 
floating down from an _invisible_ fixed header.

Only problem is that _your_ header and footer together take up so much 
window-space that there's hardly any space left for content on a short 
browser-window.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to