Welcome visitor
* Login
* Register
It is currently March 18th, 2019, 3:24 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  Nested table height
PostPosted: August 11th, 2009, 6:29 am 

Posts: 28
I have a table nested inside another one. How can i make the nested table to grow as tall as the parent table so it always reaches the top and the bottom?

TIA


Top
 Profile  
 
  Re: Nested table height
PostPosted: August 11th, 2009, 6:42 am 

Posts: 26
<table id="parent"><tr><td> 
  <table id="nested" style="height: 100%"><tr><td>
  </td></tr></table>
</td></tr></table>

does this works for ya?


Top
 Profile  
 
  Re: Nested table height
PostPosted: August 11th, 2009, 6:51 am 

Posts: 28
Yes, thank you. Now i have a question, why is there a little gap between the table borders?


Top
 Profile  
 
  Re: Nested table height
PostPosted: August 11th, 2009, 6:57 am 

Posts: 26
add this css
*{margin: 0px; padding: 0px}
table{border-spacing:0px 0px}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron