开发者

Control the clickable area of a link

开发者 https://www.devze.com 2023-04-07 03:45 出处:网络
As you can see below I have a set of links quite close together and the clickable area of the links overlap:

As you can see below I have a set of links quite close together and the clickable area of the links overlap:

Control the clickable area of a link

I've tried playing with the padding and margin t开发者_JAVA百科o no avail. How to I reduce the overlap?


It depends on your situation and isn't always possible, but if you could manage to get the links to be display: block, display: inline-block or position: absolute, you would be able to explicitly set their width and height.

0

精彩评论

暂无评论...
验证码 换一张
取 消