Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
Line 70: Line 70:
-
<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 16:44, 21 July 2014

  • 1 1
  • 2 2
  • 3 3
  • 4 4
  • 5 5
  • 6 6
  • 7 7
  • 8 8
  • 9
  • 10 10