Reply to Re: CSS for a Link to Occupy the Whole Cell

Your name:

Reply:


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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация