Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
Line 228: | Line 228: | ||
list-style: none; | list-style: none; | ||
display: inline-table; | display: inline-table; | ||
- | background-color: | + | background-color: transparent; |
- | + | ||
position: relative; | position: relative; | ||
width: 175px; | width: 175px; | ||
height: 30px | height: 30px | ||
- | |||
} | } | ||
+ | |||
+ | .subnav li a { | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | /* SAMPLE MAPPER SHOWN BELOW*/ | ||
+ | |||
+ | #nav-3-1 > a { | ||
+ | width:141px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat 0px 0 | ||
+ | } | ||
+ | |||
+ | #nav-3-1 > a a:active, | ||
+ | #nav-3-1 > a:hover { | ||
+ | background-position:0px -41px | ||
+ | } | ||
+ | #nav-3-1 > a.current { | ||
+ | background-position:0px 0px -41px | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 18:03, 17 October 2014