Re: Filling a table cell with a link

Steve Buckley wrote:

[make links' width 100%]

> Is there a legal HTML-CSS way of getting the same effect?

Yes, CSS:
a {
   display: block
}

> Since this is a
> non-essential feature, I don't really care if it doesn't work on older
> browsers such as Netscape 4.x, but I don't like using bad CSS, especially
> as it is unrecognised by a browser such as Opera 6.02.  If no fix exists,
> perhaps it suggests that a block-level version of the <a> tag should be
> added to a future version of XHTML?

Use CSS instead.
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Wednesday, 1 October 2003 04:54:04 UTC