Click to See Complete Forum and Search --> : Weird table's rows with Firefox ! Plz Help !


gadapchetvoi
10-23-2008, 03:08 PM
Hi all.
Did anyone know how to stretch a table which is inside another-table's-cell, to fix the cell's height ?

I can do this easily in IE by setting some td & table 's height to 100%, but Firefox refused me.

You can view attached picture for more detail.

Tks 4 all suggestions.

cbVision
10-29-2008, 03:40 PM
When expanding things 100% height, you need to make sure all the parent elements have height as 100%.

For example:
<html>
<head>
<style>
html, body {height: 100%;}
</style>
</head>
<body>
<table style="height: 100%;">
<tr><td>cell 1</td></tr>
<tr><td>cell 2</td></tr>
<tr><td style="height: 100%;">Expanded cell</td></tr>
</table>
</body>
</html>