You are here: Re: Links and Padding « HTML « IT news, forums, messages
Re: Links and Padding

Posted by Chris F.A. Johnson on 11/26/45 11:54

On 2006-08-01, Chris wrote:
> I have an image which acts a link. It has padding on it and a background
> image which is part of the effect. Is there any way of this padding being
> clickable as well as the link. See the link below.
>
><div class="test" style="padding-bottom:20px; background:#eeeeee;
> width:100px">
><a href="test.asp">
><img src="home_01_imageready_04.gif" /></a>
></div>

Put the padding in the anchor, not the div.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

Navigation:

[Reply to this 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

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