Template:INSA-Lyon/menu
From 2010.igem.org
(Difference between revisions)
m |
m |
||
Line 34: | Line 34: | ||
- | #menu {list-style-type:none; margin:-5px auto 20px auto; padding:0; width:900px;list-style: none;} | + | #menu {list-style-type:none; margin:-5px auto 20px auto; padding:0; width:900px center;list-style: none;} |
#menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:120px; margin-top:-0.3cm; height:3em; z-index:100;} | #menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:120px; margin-top:-0.3cm; height:3em; z-index:100;} | ||
#menu li dl {position:absolute; top:0; left:0; padding-bottom:0;} | #menu li dl {position:absolute; top:0; left:0; padding-bottom:0;} | ||
Line 48: | Line 48: | ||
#menu dd {margin:0; padding:0; color: #000000; font-size: 0.91em; text-align:left;} | #menu dd {margin:0; padding:0; color: #000000; font-size: 0.91em; text-align:left;} | ||
- | #menu dt a, #menu dt a:visited {display:block; font-size: 12px; color: #000000; text-align:center; border-width:0 1px 1px 1px; background:transparent; padding:0. | + | #menu dt a, #menu dt a:visited {display:block; font-size: 12px; color: #000000; text-align:center; border-width:0 1px 1px 1px; background:transparent; padding:0.3em 0 0.2em 0;} |
#menu li:hover dt a, #menu a:hover dt a {color:#000000; background:transparent; } | #menu li:hover dt a, #menu a:hover dt a {color:#000000; background:transparent; } | ||
Line 67: | Line 67: | ||
#menu li:hover b.p4, #menu a:hover b.p4 {background:transparent;} | #menu li:hover b.p4, #menu a:hover b.p4 {background:transparent;} | ||
</style> | </style> | ||
+ | |||
Line 73: | Line 74: | ||
<ul id="menu"> | <ul id="menu"> | ||
+ | |||
<li> | <li> | ||
<!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]--> | <!--[if lte IE 6]><a href="#nogo"><table><tr><td><![endif]--> | ||
Line 141: | Line 143: | ||
</ul> | </ul> | ||
+ | |||
+ | |||
+ | |||
</html> | </html> |
Revision as of 15:25, 19 August 2010