468,771 Members | 1,921 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

Using CSS to position a table

Greetings,

I'm trying to use CSS to position a table in the top right corner of a
webpage and not have the table disappear off the screen when the user
scrolls down.
Simply, my design is like this:

<table width=100%>
<tr>
<td=30%> </td>
<td=60%> </td>
<td=10%> </td>
</tr>
</table

I have tables,images and navigation bars etc. all nested inside the
first two TD tags. However, in the last TD tag I have table with
links to other parts of my website. How can I use CSS to stop that
table from disappearing off the page? I want to keep it in a fixed
position. I've read a little about absolute and fixed position, but
can't seem to get it to work. Does anyone have any suggestions?
Jul 20 '05 #1
1 11465
In article <9f**************************@posting.google.com >, Eric Wilds
wrote:
Greetings,

I'm trying to use CSS to position a table in the top right corner of a
webpage and not have the table disappear off the screen when the user
scrolls down.
Why table? {position:fixed;right:0;top:0} Don't work on IE. You are
asking on wrong group, this is .html
Simply, my design is like this: I have tables,images and navigation bars etc. all nested inside the
first two TD tags.
Seems very stupid design. I think what you have done would not need to be
wrapped in table.
However, in the last TD tag I have table with
links to other parts of my website. How can I use CSS to stop that
table from disappearing off the page?
Why would you wan't to do that? It's annoying, IMHO.
I want to keep it in a fixed position.
I've read a little about absolute and fixed position, but
can't seem to get it to work. Does anyone have any suggestions?


Try different browser and forget whole idea. IE don't handle fixed
positioning, unless you say it to with JS.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Rudolf Bargholz | last post: by
3 posts views Thread by Random Person | last post: by
1 post views Thread by Daveyk0 | last post: by
2 posts views Thread by Junior | last post: by
reply views Thread by Eugene Anthony | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.