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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting table height to AUTOMATIC?

Status
Not open for further replies.

LucyL

Technical User
Feb 20, 2002
113
US
Hi,
I have a web page that has two tables. One acts as a side menu bar. The second holds page content. I have the height of the side menu set. When the page content is large, the side menu falls short. Is there a way of setting the height of the side menu to automatic, so that it will never fall short of the main table?
 
Thanks Lillu, but what is happening is the table with the content is expanding alright. However, the side menu looks strange, since it does not expand with the second table. I am wondering if there is a way that I could set the height of the side menu table to whatever height the content table will expand to. Is this possible?
 
You want the side menu table to stretch to the height of the page? Easy:
[tt]
<table style=&quot;height:100%&quot;>
[/tt]


-- Chris Hunt
Extra Connections Ltd

The real world's OK for a visit, but you wouldn't want to LIVE there!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top