| | |
|
|
|
Fixed table at bottom of screen?? |
| message from sperrynh on 15 Jul 2004 |
Does anyone know if it is possible to create a small footer table that will
stay at the bottom of the monitor screen when the website is being browsed. I
have a table with a navigation bar at the top of the page with rollover images
and pop-down menus. In the middle of the page is another table with the main
area where I will put my text and other info. At the bottom I have a footer
table with 5 cells across the bottom, each with a rollover image. I want the
main table to scroll if needs be, yet keep the footer always within view at the
bottom of the monitor screen. Is there a way to do this?
How do I make my template so the pages I make out of it will automatically
adjust their height? I need the top and bottom tables at fixed heights but the
middle table needs to vary, either at least the minimum height to fill the
screen in the browser or adjust to be longer if there is more text and info in
that main table.
I am new to the DW thing so detailed help will be very appreciated. Thanks
for any help or suggestions.
|
| Murray *TMM* replied to sperrynh on 15 Jul 2004 |
It's not a simple or easy thing to do, particularly if you want to retain
valid code. You could put the table into an absolutely positioned division
(DW calls them "layers") and use the LayoutDesigner2 extension from PVII
http://www.projectseven.com/ to position that layer to the bottom of the
page, but you have then added much javascript code to the page to accomplish
this one thing.
You mean the DW/FW pop-up menus? Those are big trouble for many
inexperienced users. Please read this -
http://apptools.com/rants/jsmenu.php
It is easy to keep the footer table always below the main table, but as I
said, it's not easy to keep it always at the bottom of the screen.
This has nothing to do with templates and everything to do with HTML.
Tables will automatically adjust to accommodate the content you put into
them. As long as you don't put an image or some other fixed width content
into a table that blows the width, it will remain at the width you specify.
Table height is flexible, again depending on the demands of the contents.
So - if you don't change the content of the top and bottom tables, then they
will remain at a fixed height. As you add more or less content to the
middle table, within the constraints of the width, it will flex in height.
That's about all you can do using ordinary HTML. Table height is invalid
HTML so you don't want to even think of using that.
Perhaps that helps?
|
|
Archived message: Fixed table at bottom of screen?? (Macromedia Dreamweaver Web Design)