Template:Tokyo Tech Menu

From 2009.igem.org

(Difference between revisions)
Line 12: Line 12:
table.menu
table.menu
-
  font-size: 95%;
+
  font-size:95%;
  width:720px;
  width:720px;
  height:30px;
  height:30px;
  margin:20px auto 20px;
  margin:20px auto 20px;
-
  text-align:center;
+
  padding: 0;
  table-layout:fixed;
  table-layout:fixed;
-
  position:relative;
+
  position:absolute;
}
}
-
.menu tr td {
+
.menu tr td{
 +
text-align:center;
  width:120px;
  width:120px;
  height:30px;
  height:30px;
}
}
-
.menu tr td a {
+
.menu tr td a{
  text-decoration:none;
  text-decoration:none;
-
  width: 120px;
+
  width:120px;
-
  display: block;
+
  display:block;
-
  background-color: #39f;
+
  background-color:#39f;
-
  color: #fff;
+
  color:#fff;
}
}
-
.menu tr td a:hover {
+
.menu tr td a:hover{
-
   text-decoration: none;
+
   text-decoration:none;
-
   background-color: #36c;
+
   background-color:#36c;
-
   color: #fff;
+
   color:#fff;
}
}
.menu tr td ul li{
.menu tr td ul li{
-
list-style-type: none;
 
  width:75px;
  width:75px;
}
}
.menu tr td ul li a{
.menu tr td ul li a{
-
  width: 75px;
+
text-decoration:none;
 +
  width:75px;
 +
height:auot;
 +
display:block;
 +
padding:1px;
}
}
/*.menu tr td a:hover {
/*.menu tr td a:hover {
   position:relative;
   position:relative;
-
   text-decoration: none;
+
   text-decoration:none;
-
   border: 1px 0 #39f;
+
   border:1px 0 #39f;
-
   background-color: #36c;
+
   background-color:#36c;
-
   color: #fff;
+
   color:#fff;
}
}
.menu tr td ul{
.menu tr td ul{
 +
list-style-type:none;
  overflow:hidden;
  overflow:hidden;
}
}

Revision as of 05:38, 19 October 2009