Difference between revisions of "Template:HKUST-Rice"
SabrinaTam (Talk | contribs) |
SabrinaTam (Talk | contribs) |
||
Line 33: | Line 33: | ||
float: left; | float: left; | ||
width: 1350px; | width: 1350px; | ||
− | padding-left: | + | padding-left: 10px; |
padding-top: 10px; | padding-top: 10px; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
Line 132: | Line 132: | ||
list-style: none; | list-style: none; | ||
margin-left:30px; | margin-left:30px; | ||
− | + | <!-- overflow: auto; --> | |
} | } | ||
Line 138: | Line 138: | ||
#menuContainer ul li { | #menuContainer ul li { | ||
text-align: center; | text-align: center; | ||
− | display: inline; | + | display: inline-block; |
− | width: | + | width: 10%; |
− | height: 30px; | + | <!-- height: 30px;--> |
padding: 2px 35px; | padding: 2px 35px; | ||
} | } | ||
Line 155: | Line 155: | ||
padding-top: 15px; | padding-top: 15px; | ||
margin-left: -19px; | margin-left: -19px; | ||
− | + | <!-- width: auto; | |
height: 100px; | height: 100px; | ||
text-align: left; | text-align: left; | ||
− | float: left; | + | float: left; --> |
} | } | ||
/*Submenus are displayed when hovering the menu button */ | /*Submenus are displayed when hovering the menu button */ | ||
#menuContainer li:hover ul { | #menuContainer li:hover ul { | ||
− | /*display: block; */ | + | /*display: inline-block; */ |
display: inline-block; | display: inline-block; | ||
position: absolute; | position: absolute; | ||
− | overflow: visible; | + | <!-- overflow: visible; |
width: 150px; | width: 150px; | ||
height: 200px; | height: 200px; | ||
− | clear:left; | + | clear:left; --> |
− | margin-left: | + | margin-left: 134px; |
− | margin-top: | + | margin-top: 17px; |
margin-right: 0px; | margin-right: 0px; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
Line 181: | Line 181: | ||
padding-left:20px; | padding-left:20px; | ||
padding-right:20px; | padding-right:20px; | ||
− | height: | + | height: 25px; |
padding-top:10px; | padding-top:10px; | ||
margin-top:-2px; | margin-top:-2px; | ||
+ | margin-left:0px; | ||
color: #565656; | color: #565656; | ||
− | width: | + | width: 100px; |
} | } | ||
Revision as of 16:19, 9 June 2015