Team:NCTU Formosa
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<style type = "text/css"> | <style type = "text/css"> | ||
#pmenu, #pmenu ul {padding:0; margin:0; list-style-type: none;} | #pmenu, #pmenu ul {padding:0; margin:0; list-style-type: none;} | ||
- | #pmenu {margin:25px | + | #pmenu {margin:25px 5px 100px 60px;} |
- | #pmenu li {float:left;position:relative;} | + | #pmenu li {float:left;position:relative; list-style-type: none;} |
- | #pmenu a, #pmenu a:visited {display:block; width:200px; font-size:16px; color:#000; height:28px; line-height:22px; text-decoration:none; text-indent:5px; background:#b2ab9b; border:1px solid #fff; border-width:0 1px 1px 0; text-align:center; } | + | #pmenu a, #pmenu a:visited {display:block; width:200px; font-size:16px; color:#000; height:28px; line-height:22px; text-decoration:none; text-indent:5px; background:#b2ab9b; border:1px solid #fff; border-width:0 1px 1px 0; text-align:center; list-style-type: none;} |
#pmenu li:hover > a{background:#dfd7ca; color:#c00;} | #pmenu li:hover > a{background:#dfd7ca; color:#c00;} | ||
#pmenu li ul {display: none;} | #pmenu li ul {display: none;} | ||
- | #pmenu li:hover > ul {display:block; position:absolute; top:0; left: | + | #pmenu li:hover > ul {display:block; position:absolute; top:0; left:201px;} |
#pmenu > li:hover > ul {left:0; top:24px;} | #pmenu > li:hover > ul {left:0; top:24px;} | ||
Revision as of 20:15, 15 September 2011