|
Posted by Ben C on 06/12/07 20:49
On 2007-06-12, vunet.us@gmail.com <vunet.us@gmail.com> wrote:
> Hello,
>
> I have a link (A tag) inside of a cell. I want this link to occupy the
> whole area of the cell, such as width:100%, height:100%.
>
> I cannot seem to come up with a cross-browser example. How would you
> do it? Thanks.
>
><table><tr><td width=70 height=30>
><a href='' style=''>ha</a>
></td></tr></table>
You can't set width or height on inline boxes, which are the kind the
<a> generates by default since it is display: inline.
Why not put the styles on the <td> instead?
Navigation:
[Reply to this message]
|