- From: Gustav Svensson <gurra16@spray.se>
- Date: Sat, 15 Feb 2003 23:24:11 +0100
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: www-style@w3.org
- Message-ID: <1045347851019696@lycos-europe.com>
No, it's not for layout. There is a large traditional table, although I shrunk it for the posting. And a few of the columns should be links. And as I have figured it, I would have to make the anchor block-level if I want it to span the whole table-cell. So why is this not possible? If it had been a div or anything else, it would have been possible to work around with positioning. But I can't position anything on the vertical scale, if it is inside an anchor? It just looks weird when I try to. Here's a little more extensive code: <table border="1"> <tbody> <tr> <td> <img title="This image makes the row slightly higher than 1em."> </td> <td>Some text</td> <td>Some more text</td> <td><a href="#" style="background-color: red; display: block; height: 100%;">Clickable text. You should be able to click anywhere in the cell, not just on the text.</a> </td> </tr> </tbody> <table> The link-text lines up at the very top of the cell, which makes it differ from the previous columns, which have vertical-align:middle style. Gustav _____________________________________________________________ Här börjar internet! Skaffa gratis e-mail och gratis internet på http://www.spray.se Träffa folk från hela Sverige på ett och samma ställe - http://chat.spray.se/
Received on Saturday, 15 February 2003 17:25:33 UTC