View Single Post
Old 06-20-2006, 06:14 PM   #4 (permalink)
Forgotten
Junior Member
 
Join Date: Jun 2006
Posts: 10
Default Re: 100% table height

Well tables (from what I can remember) are the worst containers to use when trying to get 100% height with cross-browser functionality.

I use CSS and <div> tags, wherein the table tags can be inside.

Code:
/* CSS Code */ html,body { height: 100%; } body { /* text-align: center; */ // Center Text } #container { margin: auto; width: 626px; // ENTER YOUR WIDTH text-align: left; height: 100%; } .main { width: 626px; // ENTER YOUR WIDTH height: 100%; }

Now for the HTML:
Code:
<div id="container"> <div class="main"> <!-- Tables with 100% height and content go here --> </div> </div>

Example seen at my site (Admin Alliance)... google it.
Forgotten is offline   Reply With Quote
Sponsored Links