Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Lines in a Table  (Read 12965 times)

0 Members and 1 Guest are viewing this topic.

rsagall

  • Guest
Lines in a Table
« on: June 28, 2004, 05:09:57 AM »
I have a table that I want to inclue single horizontal and vertical lines. (http://www.occmedcentral.com/guidelines/fatigue.shtml). I can get a single line around the perimeter of the table. How do I put them inside the table?

Thanks,

Rich Sagall

Joleen

  • Guest
Re: Lines in a Table
« Reply #1 on: June 28, 2004, 05:55:10 AM »
If you have lines around the perimiter then you're using the border trait on the table.  Do the same on each <tr>.

rsagall

  • Guest
Re: Lines in a Table
« Reply #2 on: June 29, 2004, 04:11:36 AM »
I tried this with the <tr> command and it didn’t work - nothing happened. I put the same code in the <td> command and it worked - but didn’t give the appearance I want. It put a box around the cell and all I want is a line across the entire row.

Thanks,

Rich

Joleen

  • Guest
Re: Lines in a Table
« Reply #3 on: June 29, 2004, 04:54:45 AM »
Ahh I see.  Why not just put in a horizontal rule that spans the table or put in a single cell with the width of the table and a HR inside?
<table>
<tr>
 <td> stuff</td>
 <td> stuff</td>
 <td> stuff</td>
</tr>
<tr>
 <td><HR></td>  You could optionally do <td colspan=3>
</tr>
<tr>
 <td> stuff</td>
 <td> stuff</td>
 <td> stuff</td>
</tr>
</table>

rsagall

  • Guest
Re: Lines in a Table
« Reply #4 on: June 29, 2004, 12:22:37 PM »
I tried your code and it put the line above the table. I also tried adding
<tr>
<td colspan=”7”>

</td>
</tr>

It worked - sort of. The line didn’t extend the full width of the table.

In another table I will need both horizontal and vertical lines.

Any other ideas?

Thanks

Joleen

  • Guest
Re: Lines in a Table
« Reply #5 on: June 30, 2004, 05:33:24 AM »
Hmm.. what about having an image of a line (either vertical or horizontal) then put the image in the table cell.