PDA

View Full Version : weird question


maltrecho
02-27-2003, 11:03 PM
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!!!

Borgtex
02-27-2003, 11:40 PM
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">
<tr>
<td valign="top">main content</td>
</tr>
<tr>
<td valign="bottom">footnote</td>
</tr>
</table>

you can also use layers and javascript

maltrecho
02-28-2003, 12: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.

maltrecho
02-28-2003, 02:13 AM
It was solved the way you said. thanks.

chrismiceli
02-28-2003, 02: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">

maltrecho
02-28-2003, 11:49 AM
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...)

oracleguy
02-28-2003, 04:22 PM
I believe the height attribute for the table tag has deprecated. You should use CSS to set the height instead.