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

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern


  • # March 26, 2013 at 9:31 am

    How to do that `

      ` would be in vertical-align: middle?
    # March 26, 2013 at 9:35 am

    I’m not sure what you mean.

    What needs to be aligned? The menu, the list items or the links?

    Do you have an example of what you are trying to do?

    # March 26, 2013 at 9:39 am

    I want to do that ul would be in the page horizontal and vertical center.

    # March 26, 2013 at 10:08 am

    Is it the only thing on the page. Frankly without seeing what it is you are trying to do it is hard to help.

    # March 26, 2013 at 12:02 pm

    This might help though:

    # March 26, 2013 at 12:52 pm

    Nothing super new to the concept, just thought a way to do it without `display: table;` or a pseudo element:

    Downside: can’t use `rem` anymore.

    Unique feature: body element is the element that is centered in the middle, so no need for extra container element.

    # March 26, 2013 at 3:18 pm

    both thx. :)

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