Grow your CSS skills. Land your dream job.

Trouble centering a list.

  • # February 1, 2009 at 11:48 pm

    I’ve tried everything I can think of to get this to center without breaking it. Any ideas?

    Code:


    # February 2, 2009 at 12:32 am

    Centering a horizontal list with items of variable length has LONG been a problem. Just recently Stu Nicholls posted a solution for this I thought was amazingly clever:

    http://www.cssplay.co.uk/menus/centered.html

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".