Get a free trial // Grow your CSS skills // Land your dream job

Center Links In A Circular Sprite

  • # April 13, 2013 at 3:04 am

    [Your text to link here…]( “”)

    Waht’s the best approach to center the links inside each circle?

    # April 13, 2013 at 5:21 am

    `text-align: center` on `.main-navigation li a`, sometimes it is easier than it looks ;)

    # April 13, 2013 at 7:10 pm

    Works perfect, thank you.

Viewing 3 posts - 1 through 3 (of 3 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