Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
Line 219: | Line 219: | ||
left:0px; | left:0px; | ||
top: 15px; | top: 15px; | ||
- | height: | + | height: 39px; |
width:623px; | width:623px; | ||
z-index: 1; | z-index: 1; | ||
Line 238: | Line 238: | ||
.subnav li a { | .subnav li a { | ||
display:block; | display:block; | ||
- | height: | + | height:39px; |
float:left; | float:left; | ||
text-indent:-9999px; | text-indent:-9999px; | ||
Line 271: | Line 271: | ||
.subnav li#nav-3-1 a:active, | .subnav li#nav-3-1 a:active, | ||
.subnav li#nav-3-1 a:hover { | .subnav li#nav-3-1 a:hover { | ||
- | background-position:0px - | + | background-position:0px -39px |
} | } | ||
.subnav li#nav-3-1 a.current { | .subnav li#nav-3-1 a.current { | ||
- | background-position:0px 0px - | + | background-position:0px 0px -39px |
} | } | ||
Line 284: | Line 284: | ||
.subnav li#nav-3-2 a:active, | .subnav li#nav-3-2 a:active, | ||
.subnav li#nav-3-2 a:hover { | .subnav li#nav-3-2 a:hover { | ||
- | background-position:-157px - | + | background-position:-157px -39px |
} | } | ||
.subnav li#nav-3-2 a.current { | .subnav li#nav-3-2 a.current { | ||
- | background-position:-157px -157px - | + | background-position:-157px -157px -39px |
} | } | ||
Line 297: | Line 297: | ||
.subnav li#nav-3-3 a:active, | .subnav li#nav-3-3 a:active, | ||
.subnav li#nav-3-3 a:hover { | .subnav li#nav-3-3 a:hover { | ||
- | background-position:-250px - | + | background-position:-250px -39px |
} | } | ||
.subnav li#nav-3-3 a.current { | .subnav li#nav-3-3 a.current { | ||
- | background-position:-250px -250px - | + | background-position:-250px -250px -39px |
} | } | ||
Line 310: | Line 310: | ||
.subnav li#nav-3-4 a:active, | .subnav li#nav-3-4 a:active, | ||
.subnav li#nav-3-4 a:hover { | .subnav li#nav-3-4 a:hover { | ||
- | background-position:-365px - | + | background-position:-365px -39px |
} | } | ||
.subnav li#nav-3-4 a.current { | .subnav li#nav-3-4 a.current { | ||
- | background-position:-365px -365px - | + | background-position:-365px -365px -39px |
} | } | ||
Line 323: | Line 323: | ||
.subnav li#nav-3-5 a:active, | .subnav li#nav-3-5 a:active, | ||
.subnav li#nav-3-5 a:hover { | .subnav li#nav-3-5 a:hover { | ||
- | background-position:-480px - | + | background-position:-480px -39px |
} | } | ||
.subnav li#nav-3-5 a.current { | .subnav li#nav-3-5 a.current { | ||
- | background-position:-480px -480px - | + | background-position:-480px -480px -39px |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 02:11, 18 October 2014