W3C home > Mailing lists > Public > www-html@w3.org > October 2003

Re: Filling a table cell with a link

From: Johannes Koch <koch@w3development.de>
Date: Wed, 01 Oct 2003 10:53:09 +0200
Message-ID: <3F7A95F5.4000405@w3development.de>
To: www-html@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT