Created
February 9, 2013 21:10
-
-
Save jonesmac/4747137 to your computer and use it in GitHub Desktop.
CSS: Horizontally Centered Menu CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#menu { | |
float: right; | |
position: relative; | |
left: -50%; | |
} | |
#menu ul { | |
position: relative; | |
left: 50%; | |
} | |
#menu li { | |
float: left; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment