The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
How to do that `
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?
I want to do that ul would be in the page horizontal and vertical center.
Is it the only thing on the page. Frankly without seeing what it is you are trying to do it is hard to help.
This might help though: http://css-tricks.com/centering-in-the-unknown/
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.
both thx. :)
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed