RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting

Table = 100% in IE but not in FireFox?

Join Date: Jul 2007
Posts: 1
Reputation: MichaelRoof is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
MichaelRoof MichaelRoof is offline Offline
Newbie Poster

Re: Table = 100% in IE but not in FireFox?

  #5  
Jul 26th, 2007
Just add the form tag to the previous posting. The reason it is not working could be because the a parent (form) object is not being expanded to 100%. <br>

Try This:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<style type="text/css">
html,body, form {
  margin:0;
  padding:0;
  height:100%;
  width:100%;
}

table.full-height {
  height:100%;
  width:100%;
  border:1px solid black;
}
</style>
</head>
<body>
  <table class="full-height"><tbody><tr>
    <td>This is a test</td>
  </tr></tbody></table>
</body>
</html>
Last edited by MichaelRoof : Jul 26th, 2007 at 2:20 pm.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:10 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC