Team:ATOMS-Turkiye/Templates/Style
From 2013.igem.org
(Difference between revisions)
Line 119: | Line 119: | ||
#menu li:hover a{ | #menu li:hover a{ | ||
background: #7aaf1e; | background: #7aaf1e; | ||
+ | } | ||
+ | #menu, #menu ul { | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #menu a { | ||
+ | display: block; | ||
+ | width: 10em; | ||
+ | } | ||
+ | |||
+ | #menu li { | ||
+ | float: left; | ||
+ | width: 10em; | ||
+ | } | ||
+ | #menu li ul { | ||
+ | position: absolute; | ||
+ | width: 10em; | ||
+ | left: -999em; | ||
+ | } | ||
+ | |||
+ | #menu li:hover ul { | ||
+ | left: auto; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 08:20, 30 September 2013