Template:Team:Newcastle/CSS test

From 2010.igem.org

(Difference between revisions)
(New page: <html> <style type="text/css"> #content { BORDER-RIGHT: #444444 1px solid; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; Z-INDEX: 2; BACKGROUND: white; PADDING-BOTTOM: 5px; MARGIN: 0px auto; BO...)
 
Line 530: Line 530:
     font-weight: bold;
     font-weight: bold;
}
}
 +
#menu * {
 +
margin: 0;
 +
padding: 0;
 +
}
 +
 +
#menu {
 +
behavior: url(http://www.xs4all.nl/~peterned/htc/csshover3-source.htc); <!-- fuer ie6 -->
 +
font-family: calibri, verdana, sans-serif;
 +
font-size: 14px;
 +
background-color: transparent;
 +
float:left;
 +
padding: 10px 0 0 0;
 +
}
 +
 +
#menu ul {
 +
float: left;
 +
list-style: none;
 +
}
 +
 +
#menu ul li {
 +
background-color:transparent;
 +
        position:relative;
 +
float:left;
 +
list-style: none;
 +
padding: 10px 15px 0 0;
 +
        font-weight: bold;
 +
        width: auto;
 +
}
 +
 +
#menu a {
 +
color: #FFF;
 +
display: inline;
 +
text-decoration: none;
 +
}
 +
 +
#menu a:visited {
 +
color:#FFFFFF;
 +
text-decoration: none
 +
}
 +
 +
#menu a:hover {
 +
color: #00a5ea;
 +
}
 +
 +
#menu ul li ul {
 +
display: none;
 +
position: absolute;
 +
left: -20px;
 +
        width: 155px;
 +
        heigth: 1%;
 +
font-size: 12px;
 +
opacity: 0.8;
 +
list-style: none;
 +
        top: 19px;
 +
        padding-top: 9px;
 +
        z-index:500;
 +
}
 +
 +
#menu ul li:hover ul {
 +
display: inline;
 +
        background-position: bottom;
 +
}
 +
 +
#menu ul li ul li {
 +
width: 100%;
 +
list-style: none;
 +
        background-color: #000;
 +
        margin: -1px;
 +
        padding: 0 0 0 5px;
 +
        display: inline;
 +
}
 +
  </style>
  </style>
</html>
</html>

Latest revision as of 14:58, 25 July 2010