Difference between revisions of "Team:UNC-Chapel Hill/practicemenu"
Line 25: | Line 25: | ||
.nav { | .nav { | ||
/* Layout & positioning */ | /* Layout & positioning */ | ||
− | |||
display: block; | display: block; | ||
position: fixed; | position: fixed; | ||
top: 20px; | top: 20px; | ||
− | width: | + | width: 100%; /*1000px*/ |
height: 43px; | height: 43px; | ||
border-radius:4px; | border-radius:4px; | ||
− | + | text-align: center; | |
/* Background & effects */ | /* Background & effects */ | ||
background: #56A0D3; /* Background for Internet Explorer 9 and older browsers */ | background: #56A0D3; /* Background for Internet Explorer 9 and older browsers */ | ||
Line 41: | Line 40: | ||
/* The link containers */ | /* The link containers */ | ||
.nav>li { | .nav>li { | ||
− | display: block | + | display:inline-block; |
− | + | ||
position: relative; | position: relative; | ||
margin: 0; | margin: 0; | ||
Line 105: | Line 103: | ||
/* General styling for the submenus */ | /* General styling for the submenus */ | ||
.nav ul { | .nav ul { | ||
− | display: block; | + | display: inline-block; |
position: absolute; | position: absolute; | ||
left: -9999px; | left: -9999px; |
Revision as of 04:31, 20 July 2015