[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Tables

Experts,

I need two table next to each other and little space in-between the two tables with dark border in black. I am trying this with the following code, but not getting it completely.

<table  width="580" height="500" bordercolor="#000000">
 <tr>
          <td width="290">Cell 1</td>
          <td width="290">Cell 2</td>
     </tr>
</table>

Please correct the above code
<table  width="580" height="500" bordercolor="#000000">
 <tr>
          <td width="290">Cell 1</td>
          <td width="290">Cell 2</td>
     </tr>
</table>

Open in new window

0
Tpaul_10
Asked:
Tpaul_10
  • 2
1 Solution
 
gamebitsCommented:
I see only one table in your code but anyway

<table border=0 cellpadding=0 cellspacing=2 width="100%">
<tr>
      <td><table border=1 bordercolor="black">
                 <tr>
                        <td>&nbsp;</td>
                  </tr>
               </table>
      <td><table border=1 bordercolor="black">
                 <tr>
                        <td>&nbsp;</td>
                  </tr>
               </table>
</table>
0
 
hankknightCommented:

<table  width="580" height="500">
 <tr>
          <td width="290">Cell 1</td>
          <td width="290" style="border-left: 2px solid black; padding-left: 10px;">Cell 2</td>
     </tr>
</table>

Open in new window

0
 
hankknightCommented:
Or two tables:
<table width="580" height="500" style="float: left; border-right: 2px solid black;">
 <tr>
          <td width="290">Cell 1</td>
          <td width="290">Cell 2</td>
     </tr>
</table>
<table  width="580" height="500" style=" float: left; margin-left: 10px;">
 <tr>
          <td width="290">Cell 1</td>
          <td width="290">Cell 2</td>
     </tr>
</table>

Open in new window

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now