Tables

by "Rob Parker" <RobParker(at)access.net.au>

 Date:  Tue, 4 Jul 2000 14:35:28 +1000
 To:  "Gutenberg list" <hwg-gutenberg(at)hwg.org>
  todo: View Thread, Original
Has anyone used a table in anger, for an xml markup using the gutbook dtd,
and got it to display acceptably (in IE5)?

I've got some information in tables, but I can't figure out how to get it to
display OK. It displays the contents of each cell (in any particular row)
directly against the contents of the next cell.

For example, the following markup:

<table>
<row><cell>White</cell><cell>Red</cell></row>
<row><cell>PIECES</cell><cell>PAWNS</cell><cell>PAWNS</cell><cell>PIECES</ce
ll></row>
<row><cell>Tweedledee</cell><cell>Daisy</cell><cell>Daisy</cell><cell>Humpty
Dumpty</cell></row>
...
</table>

with these css rules:

table row{
  display:block;
  text-align:center;
  margin-left:24pt;
  margin-right:24pt;
}

table cell{
  display:inline;
  text-align:left;
  font-size:10pt;
  font-family:georgia,'times new roman',serif;
  margin-left:24pt;
  margin-right:24pt;
}

produces this:

                    WhiteRed
    PIECESPAWNSPAWNSPIECES
TweedledeeDaisyDaisyHumpty Dumpty

There doesn't seem to be any attribute that I can use to control cell width,
or to merge cells (cf. colspan in html). Is there a working example
somewhere that I could use as a model?

TIA,

Rob

HWG: hwg-gutenberg mailing list archives, maintained by Webmasters @ IWA