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]
|