Template:UIUC09Temp

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
<!--
 
   .firstHeading {display: none;}
   .firstHeading {display: none;}
   body {height:100%; margin:0; padding:0; background-color:#003C7D;}
   body {height:100%; margin:0; padding:0; background-color:#003C7D;}
Line 10: Line 9:
   #footer-box {background-color:#F47F24;
   #footer-box {background-color:#F47F24;
                 border-color:#F47F24;}
                 border-color:#F47F24;}
-
       /*Following coding for menubar found at http://felix.plesoianu.ro/css/css-menubar-demo.html*/
+
       /*Following coding for menubar found at http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html*/
-
      /* This is what makes the menubar tick. */
+
/**************** menu coding *****************/
-
  div.menubar dl {
+
#menu {
-
Float: left;
+
width: 100%;
-
Height: 1.3em;
+
background: #F47F24;
-
Overflow: hidden;
+
float: left;
-
  }
+
}
-
  div.menubar dl:hover {
+
 
-
Height: auto;
+
#menu ul {
-
  }
+
list-style: none;
-
 
+
margin: 0;
-
  /* The rest is just decoration. */
+
padding: 0;
-
  div.menubar dl {
+
width: 12em;
-
Width: 100px;
+
float: left;
-
Background-color: #F47F24;
+
}
-
Border: 2px outset #F47F24;
+
 
-
  }
+
#menu a, #menu h2 {
-
  div.menubar dl dd {
+
text-align: center;
-
Margin-left: 0;
+
font: bold 11px/16px arial, helvetica, sans-serif;
-
Padding-left: 0;
+
display: block;
-
  }
+
border-width: 1px;
-
  div.menubar a {
+
border-style: solid;
-
Color: #003C7D;
+
border-color: #ccc #888 #555 #bbb;
-
Text-decoration: none;
+
margin: 0;
-
Margin: 0.1em;
+
padding: 2px 3px;
-
Display: block;
+
}
-
  }
+
 
-
  div.menubar a:hover {
+
#menu h2 {
-
Color: #ffffff;
+
color: #003C7D;
-
  }
+
background: #F47F24;
-
  div.menubar dl:hover dt {
+
text-transform: uppercase;
-
Border-bottom: 1px solid #ff9900;
+
}
-
  }
+
 
-
-->
+
#menu a {
 +
color: #000;
 +
background: #efefef;
 +
text-decoration: none;
 +
}
 +
 
 +
#menu a:hover {
 +
color: #fff;
 +
background: #003C7D;
 +
}
 +
 
 +
#menu li {position: relative;}
 +
 
 +
#menu ul ul {
 +
position: absolute;
 +
z-index: 500;
 +
}
 +
 
 +
#menu ul ul ul {
 +
position: absolute;
 +
top: 0;
 +
left: 100%;
 +
}
 +
 
 +
div#menu ul ul,
 +
div#menu ul li:hover ul ul,
 +
div#menu ul ul li:hover ul ul
 +
{display: none;}
 +
 
 +
div#menu ul li:hover ul,
 +
div#menu ul ul li:hover ul,
 +
div#menu ul ul ul li:hover ul
 +
{display: block;}
 +
 
</style>
</style>
 +
<!--[if IE]>
 +
<style type="text/css" media="screen">
 +
#menu ul li {float: left; width: 100%;}
 +
</style>
 +
<![endif]-->
 +
<!--[if lt IE 7]>
 +
<style type="text/css" media="screen">
 +
body {
 +
behavior: url(csshover.htc);
 +
font-size: 100%;
 +
}
 +
 +
#menu ul li a {height: 1%;}
 +
 +
#menu a, #menu h2 {
 +
font: bold 0.7em/1.4em arial, helvetica, sans-serif;
 +
}
 +
</style>
 +
<![endif]-->
</html>
</html>

Revision as of 23:14, 8 June 2009