Re: What's the use of visibility: collapse on table rows?

On Fri, 4 Feb 2000 06:15:04 -0800 (PST),
=?iso-8859-1?q?Matthew=20Brealey?= (thelawnet@yahoo.com) wrote:
> 
> Invisible rows:
> 
> Given that visibility is inherited and therefore that TR {visibility:
> hidden} will hide its descendant table cells, why does the spec cite
> visibility: collapse as useful in the context of table rows?

'visibility: collapse' (unlike the other two values of visibility) can
change the layout of the document (it acts like something between
'display: none' and 'visibility: hidden').  A table row with
'visibility: collapse' doesn't leave a blank space, but one with
'visibility: hidden' does.

-David

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >

Received on Friday, 4 February 2000 13:54:52 UTC