| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Aug 2005
Posts: 29
![]() | |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Dec 2004 Location: QLD, Australia
Posts: 713
![]() | Have you tried "height:100%" in CSS? Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<title>One Hundred Percent Height</title>
<style type="text/css">
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #fff;
}
table {
height: 100%;
background-color: #69c;
}
</style>
</head>
<body>
<table>
<tr>
<td>table cell</td>
</tr>
</table>
</body>
</html>
</head> |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Aug 2005
Posts: 29
![]() | thanks a lot, when i first tried it it didn't work but then I realised that I had to apply it to the onclosing DIV as well. now everything is working well.
Last edited by kareltje; 02-04-2006 at 07:59 AM.
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My footer won't reach the bottom of the page in Firefox!! | will7 | Programming | 3 | 04-26-2005 11:21 PM |
| Portable Firefox | dgridley | Free Resources | 2 | 04-03-2005 11:34 AM |
| Wierd FireFox problem! HELP! | ChrisK76 | Web Design Discussion | 8 | 03-24-2005 07:32 AM |
| Willing to do work for cheap (just got scammed) | iDeviseFlash | For Sale / Advertising Board | 5 | 11-07-2004 01:09 AM |