Created
July 7, 2010 07:26
-
-
Save phongjalvn/466418 to your computer and use it in GitHub Desktop.
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*/ | |
.menu{ | |
height: 30px; | |
line-height: 30px; | |
padding-left: 10px; | |
} | |
.menu li, .menu a{ | |
float: left; | |
display: inline; /*Avoid IE float bug*/ | |
} | |
.menu li{ | |
position: relative; | |
} | |
.menu a,.menu a:link{ | |
text-decoration: none; | |
padding:0 10px; | |
} | |
.menu ul{ | |
position: absolute; | |
top:30px; | |
left:-1px; | |
display:none; | |
} | |
.menu ul li, .menu ul a{ | |
display: block; | |
float: none; | |
white-space: nowrap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment