![]() |
|
|
|
#1 |
|
Hi All,
I have two tables one inside the other. Just like <table height="100" id="outerTable"> <tr> <td> <table id="innerTable"> <tr><td>News</td></tr> </table> </td> </tr> </table> What I need is, I want the inner table height should be the same as outertable. But I won't specify the height directly in the innertable. I tried with height="100%". But it is not working. Anyone can suggest me plz. santel |
|
|
|
|
#2 |
|
Posts: n/a
|
barring padding and margins, the above should work.
The following looks okay to me: <html> <head> <style type="text/css"> table { border: 1px solid #F00; border-collapse: collapse; } #outerTable td { padding: 0; } #innerTable { height: 100%; margin: 0; } </style> </head> <body> <table height="100" id="outerTable"> <tr> <td> <table id="innerTable"> <tr><td>News</td></tr> </table> </td> </tr> </table> </body> Flinky Wisty Pomm |
|
|
|
#3 |
|
Posts: n/a
|
Thanks for the reply. Got it
santel |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| changing Crystal report table at run time | rakesh201180 | Software | 1 | 10-22-2008 10:58 AM |
| MCITP and stored procedure permissions | Darrilgibson@gmail.com | MCITP | 5 | 06-07-2008 12:37 PM |
| How To Access HTML elements in code behind??? | nedums_b | Software | 1 | 02-07-2008 07:15 PM |
| High-Def Playback: The Firmware Gotcha | Ablang | DVD Video | 46 | 07-28-2007 07:25 AM |
| How to store dataset to a table in the database. Please be specific. Urgent | fullblown | General Help Related Topics | 0 | 09-20-2006 03:55 PM |