The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

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, ( 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed