Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Table height 100% problem.
Old 08-15-2007, 12:18 PM Table height 100% problem.
Experienced Talker

Posts: 44
Name: Lars
Trades: 0
Hei there,

well try to take a look at this code:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
    background-color: #333333;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
html, body, #wrapper {
      height:100%;
      margin: 0;
      padding: 0;
      border: none;
      text-align: center;
   }
   #wrapper {
      height: 100%;
      text-align: left;
      vertical-align: top;
      width: 497px;
      
   }
-->
</style></head>

<body>
  <table width="500" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td valign="top" bgcolor="#CCCCCC"><table cellpadding="0" cellspacing="0" id="wrapper">
        <tr>
          <td height="100%" bgcolor="#222222">&nbsp;</td>
        </tr>
      </table></td>
    </tr>
</table>
</body>
</html>
I want the center table insight the maintable to fill 100% height, like the outside table.

Can anyone help?
__________________


Webmaster of:
Please login or register to view this content. Registration is FREE
macastaire is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-15-2007, 01:17 PM Re: Table height 100% problem.
Novice Talker

Posts: 12
Trades: 0
HTML does't actually have a spec for Height. If you just need one column you are better off just using a DIV. You can find some more info here:

http://apptools.com/examples/tableheight.php
madk is offline
Reply With Quote
View Public Profile
 
Old 08-15-2007, 01:34 PM Re: Table height 100% problem.
Experienced Talker

Posts: 44
Name: Lars
Trades: 0
But how to get the div going like 100%... won't work either
__________________


Webmaster of:
Please login or register to view this content. Registration is FREE
macastaire is offline
Reply With Quote
View Public Profile
 
Old 08-15-2007, 02:21 PM Re: Table height 100% problem.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Look at the stickies in this forum and the css forum - there is a thread there about how to make a div 100% height.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Table height 100% problem.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44486 seconds with 12 queries