Re: Lines in Tables

Tony Jebson (aj@wg.icl.co.uk)
Fri, 9 Dec 94 15:25:52 GMT


Date: Fri, 9 Dec 94 15:25:52 GMT
From: aj@wg.icl.co.uk (Tony Jebson)
Message-Id: <9412091525.AA00228@ss38.wg.icl.co.uk>
To: www-html@www0.cern.ch
Subject: Re: Lines in Tables

Michael Johnson writes:
> How about adding a RULES attribute to the TABLE element:
> 
>   rules (none|horiz|vert|both) #IMPLIED -- both if borders on, otherwise none
> 
> This should give sufficient control over rules. It might be desirable to
> extend the BORDERS attribute:
> 
>   borders (none|horiz|vert|both) none

I think this meets most of what I would like.

If the RULES attribute is added to the TR element, then it could override
the default RULES setting of the table for a particular row (which achieves
most of the rest).

I'm not sure how the same effect can be elegantly achieved for columns,
but it could be done by adding a BORDERS attribute to TD and TH:

    borders (none|horiz|vert|vleft|vright|htop|hbottom|all) none

but that is pretty horrible! It also wouldn't cope with ruling like:

    xxx | aaaa
    ----+
    yyy | bbbb

The only advantage(?) of such a scheme is that it effectively allows custom
ruling in a table.

--- Tony Jebson     --- International Computers Limited (ICL)
--- aj@wg.icl.co.uk --- http://www.to.icl.fi/~aj/index.html
--- All opinions expressed here (however stupid) are my own,
--- and nothing stated here is an official statement by ICL.