Template:TU-Delft css
From 2012.igem.org
(Difference between revisions)
Line 106: | Line 106: | ||
} | } | ||
- | #menu | + | #menu { |
- | + | margin: 0; | |
- | + | background:#141414; /* <- huvudbakgrund för menyn. */ | |
- | + | line-height: 35px; | |
- | + | border-bottom: 0px solid #6699cc; /*#4ba6d5; Blå ram längst ner på menyn. */ | |
+ | } | ||
+ | |||
+ | #menu ul { | ||
+ | display: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: 215px; /* ändra bredd på dropdown */ | ||
+ | position: absolute; | ||
+ | z-index:1; | ||
+ | top: 35px; | ||
+ | left: 0; | ||
+ | border-bottom: 0px solid #6699cc; /*#4ba6d5; blåa längst ner på dropdown. */ | ||
} | } | ||
+ | |||
#menu li { | #menu li { | ||
- | + | float: left; | |
- | + | position: relative; | |
- | + | list-style: none; | |
- | + | ||
} | } | ||
- | #menu li ul { | + | |
+ | #menu ul li { | ||
+ | float: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | border-bottom: 1px solid #2d2d2d; /* Avskiljare i dropdown. */ | ||
+ | line-height: 35px; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | <!--#menu li ul { | ||
position:absolute; | position:absolute; | ||
margin-top:-1em; | margin-top:-1em; | ||
Line 128: | Line 151: | ||
margin-left:7em; | margin-left:7em; | ||
} | } | ||
+ | > | ||
/* ******************************************************************* */ | /* ******************************************************************* */ | ||
/* SHOW SUBMENU 1 */ | /* SHOW SUBMENU 1 */ |
Revision as of 13:41, 4 September 2012