Team:Michigan/Test Css

From 2012.igem.org

(Difference between revisions)
 
(22 intermediate revisions not shown)
Line 37: Line 37:
#navigation ul li a{  
#navigation ul li a{  
-
display:block;  
+
display:block;
padding:7px 12px;  
padding:7px 12px;  
margin-left:auto;
margin-left:auto;
Line 47: Line 47:
}
}
#navigation ul li a:hover{}
#navigation ul li a:hover{}
 +
#navigation ul li ul li a{
 +
width: 75px;
 +
}
#navigation ul ul li a:hover{
#navigation ul ul li a:hover{
         background:#063257;
         background:#063257;
background-repeat:repeat-x;
background-repeat:repeat-x;
         color:#fff080;
         color:#fff080;
-
 
+
background-size:200%;
}
}
#navigation ul ul{
#navigation ul ul{
Line 276: Line 279:
<li class="selected"><a href="index.html">Project</a>
<li class="selected"><a href="index.html">Project</a>
<ul>
<ul>
-
                                               <li><a href="#">Option 1 is long </a></li>
+
                                               <li><a href="#">Option 1</a></li>
                                               <li><a href="#">Option 2</a></li>
                                               <li><a href="#">Option 2</a></li>
</ul></li>
</ul></li>

Latest revision as of 00:35, 7 August 2012

Xayona Website Template