Forum Moderators: open

Message Too Old, No Replies

Positioning a table

stay table !! stay !!

         

fashezee

5:58 pm on Apr 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Only if my table would listen to me as my dog does. But the situation is that, I would like to have a table positioned at the bottom of the page at all times regardless of the browser size. Is there an attribute that I can add to the table tag; (such as valign="bottom",which does not work, why?) Any help, suggestion, or where to find help would be appreciated.

PsychoTekk

6:05 pm on Apr 16, 2002 (gmt 0)

10+ Year Member



hi fashezee, try this:
<table STYLE="position:absolute; bottom:20px;">

mivox

6:08 pm on Apr 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know there are DHTML tricks for making a navigation bar "stick" to the bottom of the browser window, but DHTML is a notorious nightmare for cross-browser compatibility... searching javascript download sites for the words 'bottom menu' would probably turn up some options.

But perhaps there's a simpler CSS trick someone around here knows?

joshie76

6:34 pm on Apr 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Depends exactly what you need to do. You could try this (or variation) it's simple but get's tricky if you need other content on the page too...

<body> 
<table height="100%">
<tr>
<td height="100%" valign="bottom">
<table>
<tr>
<td>My table at the bottom of my page</td>
</tr>
</table>
</td>
</tr>
</table>
</body>

You could absolutely position everything else on top of the table... dunno' let you have some fun experimenting. Be sure to report back with your findings!!

DrDoc

11:35 pm on Apr 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or, if the table is supposed to be there all the time, why not consider making it a separate frame?

fashezee

1:02 pm on Apr 17, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Frames !! The deal with frames is that it will cause problems with search engines indexing your site and if users want to bookmark you site...isn't this so ??? Can someone tell me if this is still the case ???

If not, I have my finger ready on insert frame !!!!

PsychoTekk

1:18 pm on Apr 17, 2002 (gmt 0)

10+ Year Member



i don't see why this should be a problem. you could set up a standart
frame (your index page) which contains the other frames, so if a user bookmarks your site it will be the index page (i think at least ie also saves which
frames were loaded in that frame)
i did this on my site and it works fine. most of my pages have PR2 and the
index frameset page shows PR3