Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-15-2006, 12:34 AM   #1 (permalink)
vectorizor
Junior Member
 
Join Date: Jun 2006
Posts: 10
Default 100% table height

Hello,

I'm looking for a way to have the main/master table of a site stretch 100% vertically given a browser's dimensions. I've tried various methods discussed by doing a basic search on google (id=fullheight where the fullheight has a height: 100% property, height="100%", using image spacers, etc) but none of them seem to work. Does anyone know of a method to solve this problem?
vectorizor is offline   Reply With Quote
Sponsored Links
Old 06-16-2006, 04:44 AM   #2 (permalink)
charan_s
Junior Member
 
Join Date: Jun 2006
Posts: 10
Default Re: 100% table height

hi,
Try to use height:100%, to your main/master table's td such that <td height="100%"> to expand. And also tyr to use <tr><td height="100%"></td></tr> at the end of the master table
charan_s is offline   Reply With Quote
Old 06-17-2006, 09:46 AM   #3 (permalink)
vectorizor
Junior Member
 
Join Date: Jun 2006
Posts: 10
Default Re: 100% table height

Unfortunately I've already attempted those methods with no luck. Actually, I can't recall a website that actually has the whitespace on a page stretch out to fill out a browser window to the 100% height so I'm not sure if it's even possible using a simple method. =( If anyone knows of a simple or straightforward method, your help would be greatly appreciated.

Thanks for the suggestions though, Charan_S.
vectorizor is offline   Reply With Quote
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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 12:37 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums