Welcome visitor
* Login
* Register
It is currently July 23rd, 2019, 2:42 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  two tables together
PostPosted: May 2nd, 2009, 2:19 am 

Posts: 31
hi there, i have a table with width of 60% and 40%. what can i do to have them together?
<table border="1" width="60%" cellspacing="20" cellpadding="10">
  <tr height="60" valign="top">
    <td colspan="2">1</td>
    <td>2</td>
  </tr>
 
  <tr height="150" valign="top">
    <td>4</td>
    <td>5</td>
    <td>6</td>
  </tr>
</table>
<table border="1" width="40%" cellspacing="20" cellpadding="10">
  <tr height="60" valign="top">
    <td rowspan="2">1</td>
    <td>2</td>
    <td>3</td>
  </tr>
 
  <tr height="150" valign="top">
    <td>5</td>
    <td>6</td>
  </tr>
</table>


Top
 Profile  
 
  Re: two tables together
PostPosted: May 2nd, 2009, 2:21 am 
User avatar

Posts: 63
you can put both tables inside a table


Top
 Profile  
 
  Re: two tables together
PostPosted: May 2nd, 2009, 2:24 am 

Posts: 65
Or do it like this:
<table border="1" width="60%" cellspacing="20" cellpadding="10" style="display: inline">
  <tr height="60" valign="top">
    <td colspan="2">1</td>
    <td>2</td>
  </tr>
 
  <tr height="150" valign="top">
    <td>4</td>
    <td>5</td>
    <td>6</td>
  </tr>
</table>
<table border="1" width="40%" cellspacing="20" cellpadding="10" style="display: inline">
  <tr height="60" valign="top">
    <td rowspan="2">1</td>
    <td>2</td>
    <td>3</td>
  </tr>
 
  <tr height="150" valign="top">
    <td>5</td>
    <td>6</td>
  </tr>
</table>


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