Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 8:17 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  table height
PostPosted: September 9th, 2009, 6:06 pm 

Posts: 13
I have this table where a and c are the same height. What i want to do is to have a's height just as tall as its content. Thank you.
<table style="width: 200px; height: 200px">
<tr>
<td style="background-color: #f0f">a</td><td rowspan="2">b</td>
</tr><tr>
<td style="background-color: #0f0">c</td>
</tr></table>


Top
 Profile  
 
  Re: table height
PostPosted: September 9th, 2009, 7:58 pm 
User avatar

Posts: 81
<table style="width: 200px; height: 200px">
<tr>
<td>a</td><td rowspan="2">b</td>
</tr>
<tr>
<td style="height: 100%">c</td>
</tr>
</table>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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