Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
Line 69: Line 69:
-
<style type="text/css" media="screen">
 
-
#slider {
 
-
    width: 970px; /* important to be same as image width */
 
-
    height: 244px; /* important to be same as image height */
 
-
    position: relative; /* important */
 
-
overflow: hidden; /* important */
 
-
margin-left: -2px;
 
-
}
 
-
#sliderContent {
 
-
    width: 970px; /* important to be same as image width or wider */
 
-
    position: absolute;
 
-
top: 0;
 
-
margin-left: 0;
 
-
}
 
-
.sliderImage {
 
-
    float: left;
 
-
    position: relative;
 
-
display: none;
 
-
}
 
-
.sliderImage span {
 
-
    position: absolute;
 
-
font: 10px/15px Arial, Helvetica, sans-serif;
 
-
    width: 384px;
 
-
 
-
display: none;
 
-
   
 
-
}
 
-
.clear {
 
-
clear: both;
 
-
}
 
-
.sliderImage span strong {
 
-
    font-size: 14px;
 
-
}
 
-
.top {
 
-
top: 0;
 
-
left: 0;
 
-
}
 
-
.bottom {
 
-
bottom: 0;
 
-
    left: 0;
 
-
}
 
-
ul { list-style-type: none;}
 
-
</style>
 
</head>
</head>

Revision as of 17:33, 21 July 2014