Solved

Tables

Posted on 2009-05-05
3
219 Views
Last Modified: 2012-05-06
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
Comment
Question by:Tpaul_10
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 28

Expert Comment

by:gamebits
ID: 24306406
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
 
LVL 16

Expert Comment

by:hankknight
ID: 24312394

<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
 
LVL 16

Accepted Solution

by:
hankknight earned 250 total points
ID: 24312401
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Anyone familiar with PhotoSwipe? 3 40
CSS for <center> 14 47
output in HTML in Powershell 5 58
How to get chosen background-color on every line? 10 43
Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question