Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Don't Move

Status
Not open for further replies.

cooldisk2005

Technical User
Aug 3, 2005
119
US
All,
I have this page:
The menu on that page is in a table that is position: absolute.

My problem is when the web page is resized, then menu doesn't stay fixed. How can I fix this to make the menu stay fixed?

I tried position: relative, but the menu goes somewhere else on the page and I don't know how to get it back in the spot I want it.

Can someone please help me with this?

Thanks in advance!!!
 
Was this fixed? I can't see anything wrong with this website and nothing moves. In case you're still looking for a solution, I suggest you put your absolutely positioned element inside a relatively positioned one. Then your absolutely positioned element will move relative to it's relatively positioned parent and not the viewport. Other than that, I would suggest you avoid absolute positioning to begin with.
 
Thanks so much for your response, but right after I sent the post on here and when back and played with it some more and it was easy as just moving the code in the spot I wanted without the table and it worked beautifully.

Thanks again!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top