Re: Lines in Tables

Tony Jebson writes:
>For example, you might want a table with only some horizontal lines:
>               1      5
>               2      6
>               3      7
>               4      8
>    _____________________
>    Sub total  10     26
>    _____________________
>               5      9
>               6      10
>    _____________________
>    Total      21     45
>    _____________________
>
>I'm not quite sure how this could be specified, but some kind of
>line attributes on the <tr>, <th>, and <td> elements might work.

While you can't currently have rules without borders, or have horizontal
rules without vertical rules (see my previous posting) you can do the rest of
what you want now. The following markup comes close to what you wanted:

  <table borders>
  <tr align=right>
  <td>
  <td>1<br>2<br>3<br>4<br>
  <td>5<br>6<br>7<br>8<br>
  <tr align=right>
  <td align=left>Sub total
  <td>10
  <td>26
  <tr align=right>
  <td>
  <td>5<br>6<br>
  <td>9<br>10<br>
  <tr align=right>
  <td align=left>Title
  <td>21
  <td>45
  </table>

If you could specify <table rules=horiz> then you'd have what you want.

Michael Johnson
Relay Technology, Inc.

Received on Friday, 9 December 1994 14:55:10 UTC