Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 470: | Line 470: | ||
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-position:center; | background-position:center; | ||
+ | position: relative; | ||
+ | } | ||
+ | .slider img{ | ||
+ | width:800px; | ||
+ | height:350px; | ||
+ | display:none; | ||
+ | } | ||
+ | .slider_nav{ | ||
+ | width:800px; | ||
+ | margin:0 auto; | ||
+ | position:relative; | ||
+ | top:-200px; | ||
+ | z-index:10; | ||
} | } | ||
.shadow{ | .shadow{ | ||
Line 479: | Line 492: | ||
margin:0px auto; | margin:0px auto; | ||
} | } | ||
- | + | ||
- | + | #container { | |
- | + | width: 100px; | |
- | + | height: 100px; | |
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #navi, | ||
+ | #infoi { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | #infoi { | ||
+ | z-index: 10; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 23:16, 15 September 2014