Team:Grinnell/Template/Home
From 2011.igem.org
(Difference between revisions)
Line 109: | Line 109: | ||
div.menu-bar ul li:hover ul.ddm, div.menu-bar ul li a:hover ul.ddm{ | div.menu-bar ul li:hover ul.ddm, div.menu-bar ul li a:hover ul.ddm{ | ||
display:block; | display:block; | ||
- | width: | + | width:162px; |
padding:1px; | padding:1px; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:25px; |
- | left:- | + | left:-21px;/*Use 'top' and 'left' to get the ddm position where you want it*/ |
} | } | ||
div.menu-bar ul li:hover ul.ddm li a, div.menu-bar ul li a:hover ul.ddm li a{ | div.menu-bar ul li:hover ul.ddm li a, div.menu-bar ul li a:hover ul.ddm li a{ | ||
- | width: | + | width:162px; |
padding-left:0; | padding-left:0; | ||
padding-right:0; | padding-right:0; | ||
Line 125: | Line 125: | ||
div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm { | div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm { | ||
display: block; | display: block; | ||
- | width: | + | width: 110px; |
padding: 1px; | padding: 1px; | ||
position: relative; | position: relative; | ||
- | top: - | + | top: -34px; |
left: 143px; | left: 143px; | ||
} | } | ||
Line 134: | Line 134: | ||
div.menu-bar ul li:hover ul.ddm li:hover ul.sm li a, | div.menu-bar ul li:hover ul.ddm li:hover ul.sm li a, | ||
div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm li a { | div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm li a { | ||
- | width: | + | width: 165px; |
} | } | ||
/*Fixing display problems in IE browsers*/ | /*Fixing display problems in IE browsers*/ |