Posted by Gιrard Talbot on 09/10/05 06:11
Jonathan N. Little a Γ©crit :
> ernie wrote:
>
>> If i have a link,
>> <a href="some url">click this</a>
>>
>> I realize you have to click somewhere on 'click this' for the link to
>> work.
>>
>> Is there any way to make the tag wider, or to put it
>> into a wider container, and have the link work if you click
>> to the left or right of 'click this' as well?
>>
>> thanks.
>>
>
> depends on what you wish
>
> a { display: block; width: 200px; }
>
> or
>
> a { padding-left: 2em; padding-right: 2em; }
>
I agree and support this padding solution. I would also put a border
around so that the clickable area is visually noticeable. I would also
put a vertical-padding.
a:link {padding: 16px;}
is actually what I use in my own website.
> would suggest some border or background treatment to give the visitor
> some indication of the links zone...
>
Exactly!
GΓ©rard
--
remove blah to email me
[Back to original message]
|