Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to extend the clickable area of a link with a background-image Reply To: How to extend the clickable area of a link with a background-image

#164372
Atelierbram
Participant

@Paulie_D Yes it does but,

@coverville When you change the height on the link to padding-top, make it a float instead of absolute positioned ( or leave it to be only display: block), then it will work. My fork of your Codepen

BTW: Are you are going to make sprites out of those images?