Grow your CSS skills. Land your dream job.

Extending the clickable area of a link

  • # April 27, 2010 at 12:25 pm

    Ok so I’ve got this website which is pretty much done, (http://jackbeck.co.uk/newsite/?page_id=15) however one thing which really needs sorting out is how to make those green buttons clickable..

    I know it’s probably something to do with padding but I just can’t work it out.. Help!

    # April 27, 2010 at 12:35 pm

    Remove the padding-left: 55px from the li tag and put it on the h2 and h3 tags contained within the a tags. This will make the whole area clickable.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".