define table width

B

Bob Bedford

I've a site in wich I want the "footer" to appear after the content if this
is further than the explorer window height or at the bottom of the explorer
window if the table is little:

let's take an example:

window height (IE, Netscape...) 300px
table height: 150: the footer should be at window.height - footer.height
table height 380: the footer should be at table.height

How can I do this in javascript and also set it in order to be placed at the
end of the page if the browser size changes ???

Thanks in advance
 
M

Mick White

Bob said:
I've a site in wich I want the "footer" to appear after the content if this
is further than the explorer window height or at the bottom of the explorer
window if the table is little:

let's take an example:

window height (IE, Netscape...) 300px
table height: 150: the footer should be at window.height - footer.height
table height 380: the footer should be at table.height

How can I do this in javascript and also set it in order to be placed at the
end of the page if the browser size changes ???

Thanks in advance
Table height is a non-starter, there is no such thing.
Why not

</table>
<-- footer content here -->

?

Mick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top