---Sherlock, Ric wrote:
>
> ---Oleg Kobchenko wrote:
> > I believe it is better to keep it simple and return to
> > the original two tables:
> >
> > <table id="SymHead" width="100%"><tr>
> >   <th id="MonadName" align="left"   width="33%">Example</th>
> >   <th id="SymRank"   align="center" width="34%">^ 0 0 0</th>
> >   <th id="DyadName"  align="right"  width="33%">Example</th>
> > </table>
> >
> > <table id="SymDef" width="100%"><tr>
> >   <td id="MonadDef" width="49%">Description of <tt>x</tt> ...</td>
> >   <td id="Spacer"   width="1%">&nbsp;</td>
> >   <td id="DyadDef"  width="50%">Description of <tt>y</tt> ...</td>
> > </table>
> >
> > (Possibly widths and alignment placed in CSS).
>
> I agree the use of IDs to label the cells and CSS to format
> them is preferable to the current markup, and I imagine it
> would be easier to automate a move to this style of markup
> than to the others proposed. However (as I've probably
> already belaboured enough) I would prefer to see the HTML
> markup represent the logical structure of the document
> elements rather than confuse that structure by the use of
> tables as a simple page layout mechanism without regard to
> the logical structure. If the consensus is that that would
> require too much effort, then so be it.
>

I would prefer this:

<table id="PrmtvDef">
<thead><tr>
   <th colspan="2" class="SymbRank">^ 0 0 0</th>
</tr><tr>
   <th class="MonadName">Exponential</th>
   <th class="DyadName">Power</th>
</tr></thead>

<tbody><tr>
  <td class="MonadDef">Description of <tt>x</tt> ...</td>
  <td class="DyadDef">Description of <tt>y</tt> ...</td>
</tr></tbody>
</table>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to