I've got the problem described in the table above.
I've put a div red with some text inside a TD, but its height is less than 100% of TD height as you can see.
I've defined the following styles:
div.test { background-color:red; height:100%; width: 100%; }
table.test { border: 1px solid #CCCCCC; background-color:yellow; }
td.test { border: 1px solid #CCCCCC; }
does anyone know a solution ?
Please help me.
Regards to all
2
2b 1
4 5
7 8
Parx Shearer - 28 Sep 2005 18:45 GMT
Just by trial and error, I discovered that setting the height attribute of the td tag to 100% achieves the effect you desire.
td.test { border: 1px solid #CCCCCC; height: 100%; }
Good luck,
Parx Shearer
parx@theshearers.com
I've got the problem described in the table above.
I've put a div red with some text inside a TD, but its height is less than 100% of TD height as you can see.
I've defined the following styles:
div.test { background-color:red; height:100%; width: 100%; }
table.test { border: 1px solid #CCCCCC; background-color:yellow; }
td.test { border: 1px solid #CCCCCC; }
does anyone know a solution ?
Please help me.
Regards to all
2
2b 1
4 5
7 8