Team:HIT-Harbin/header/menu

From 2011.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
<style type="text/css">
<style type="text/css">
 +
.menu
 +
.menu ul{
 +
    padding: 0px;
 +
    margin: 0px;
 +
    font-family:Arial;
 +
}
 +
.menu ul li{
 +
    float: left;
 +
    list-style: none;
 +
    position: relative;
 +
    text-align: center;
 +
    margin-right: 10px;
 +
    width: 100px;
 +
}
 +
.menu ul li a{
 +
    color: black;
 +
    text-decoration: none;
 +
    font-weight: bold;
 +
}
 +
.menu ul li ul{
 +
    -moz-border-radius-bottomright: 7px;
 +
    -moz-border-radius-bottomleft: 7px;
 +
    -webkit-border-bottom-left-radius: 7px;
 +
    -webkit-border-bottom-right-radius: 7px;
 +
    -khtml-border-radius-bottomright: 7px;
 +
    -khtml-border-radius-bottomleft: 7px;
 +
    border-radius-bottomright: 7px;
 +
    border-radius-bottomleft: 7px;
 +
    border-radius:7px;
 +
 +
    padding-bottom: 5px;
 +
    position: absolute;
 +
    z-index: 999999;
 +
    display: none;
 +
}
 +
.menu ul li ul li{
 +
    -moz-border-radius-topright: 0px;
 +
    -moz-border-radius-topleft: 0px;
 +
    -webkit-border-top-left-radius: 0px;
 +
    -webkit-border-top-right-radius: 0px;
 +
    -khtml-border-radius-topright: 0px;
 +
    -khtml-border-radius-topleft: 0px;
 +
    border-radius-topright: 0px;
 +
    border-radius-topleft: 0px;
 +
    border-radius:0px;
 +
    margin: 0px;
 +
    float: none;
 +
    border:none;
 +
    word-wrap:break-word;
 +
}
 +
.menu ul li ul li a{
 +
    padding-left: 5px;
 +
    padding-right: 5px;
 +
    font-weight: normal;
 +
}
/* BonBon Buttons 1.1 by simurai.com
/* BonBon Buttons 1.1 by simurai.com
Line 483: Line 538:
<body>
<body>
-
<div>
+
<div class="menu">
         <ul>
         <ul>
           <li><a href="https://2011.igem.org/Team:HIT-Harbin"  class="button blue  serif round glass">Home</a></li>
           <li><a href="https://2011.igem.org/Team:HIT-Harbin"  class="button blue  serif round glass">Home</a></li>

Revision as of 19:52, 4 October 2011