Template:Menu
From 2012.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
<style> | <style> | ||
html{font-family:Tahoma, Geneva, sans-serif} | html{font-family:Tahoma, Geneva, sans-serif} | ||
- | #menu{position:absolute} | + | #menu{position:absolute;width:931 px;margin:0 auto} |
#menu ul{list-style:none;margin-bottom:65px;margin-left:15px} | #menu ul{list-style:none;margin-bottom:65px;margin-left:15px} | ||
- | #menu ul li {overflow:hidden;margin-left: | + | #menu ul li {overflow:hidden;margin-left:0px;display:block;background:#222;height:30px;width:132px;text-align:center;float:left;-webkit-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;} |
#menu ul li:hover {background:#666;} | #menu ul li:hover {background:#666;} | ||
#menu ul li a{color:#fff;text-decoration:none;display:table-cell;vertical-align:middle;text-align:center;height:30px;width:252px;} | #menu ul li a{color:#fff;text-decoration:none;display:table-cell;vertical-align:middle;text-align:center;height:30px;width:252px;} |
Revision as of 22:20, 26 September 2012