How 'bout this using only CSS?

liunx

Guest
Can anyone take a look at this and tell me if we can do this using only CSS (as far as design and behaviour goes as relates to viewable area in browser windows). I'm hoping I can get it to "look, feel, and act" just as it does within the attached files.

Thanx.If you want to emulate the look and function of a frameset, in short: No and yes.

YES

ONLY if you specify percentages for all heights in your main DIVs, or very specific heights in all your main DIVs.

NO

If you want the header or footer to be a specific height and have the main content and right DIVs simply take up the rest of the screen.

Otherwise, I've been unsuccessful thus far.

If you want to get the footer to always be at the very bottom of the page, regardless of the height of the main content and right DIVs, then yes you can create a layout like that. In other words, you'd get a two column header/footer layout.

Like you have in the attached files: NOPE :( sorry. There is no CSS height value that will cause an element to simply take up the remaining space. You might be able to do that using a table and CSS.

Set the table tag height to 100% of the screen and set heights for the header and footer cells only. That might work.
 
Back
Top