View Full Version : weird question

Feb 28th, 2003, 12:03 AM
Hy everybody! That's the question:

Is there any way or any code to put a footnote or text or image that always appears on the bottom of the page through different resolutions?

For example; I've got my page with a footnote on the bottom of the navigation bar (using frames in this case), viewing the page with a resolution of 800x600 it looks ok, but if I switch to a higher resolution, the footnote stands in the middle of the page and it looks too relevant. Let's say that the footnote is a copyright and things like that, and I want them always in the bottom of the page (where they should always be).

Thank you everybody!!!

Feb 28th, 2003, 12:40 AM
use a table of height=100%, divide it in two rows, put nav bar in the first row and the footnote in the second row, and then give that cell the attribute valign=bottom

<table height="100%" border="0" cellpadding="0" cellspacing="0">
<td valign="top">main content</td>
<td valign="bottom">footnote</td>

you can also use layers and javascript

Feb 28th, 2003, 01:21 AM
First of all: I didn't know I could give a height to a table...

I tried that but... It's a complicated menu with several tables an cells on tables, and also a javascript menu is built on top of everything, so the footnot went to the bottom, some tables also moved and the "built on top" menu remained out of context.

What about the other options? Thanks Borgtex.

Feb 28th, 2003, 03:13 AM
It was solved the way you said. thanks.

Feb 28th, 2003, 03:58 AM
put the stuff at the end of your page, or you could put a div at the end then use relative css positioning. on all resolutions, just change the image height if it is an image:
<img src="blah.jpg" height="160" width="102">

Feb 28th, 2003, 12:49 PM
I'm sure that would work too, but I fixed following the previous post. Thank you anyway for your support. (I'm going to test it, perhaps I like it for more...)

Feb 28th, 2003, 05:22 PM
I believe the height attribute for the table tag has deprecated. You should use CSS to set the height instead.