Reply to Re: link tag width click

Your name:

Reply:


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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация