Template:Http://2012.igem.org/User:Tabima
From 2012.igem.org
(Difference between revisions)
Line 272: | Line 272: | ||
<style type="text/css" media="screen"> | <style type="text/css" media="screen"> | ||
#slider { | #slider { | ||
- | width: | + | width: 970px; /* important to be same as image width */ |
- | height: | + | height: 244px; /* important to be same as image height */ |
position: relative; /* important */ | position: relative; /* important */ | ||
overflow: hidden; /* important */ | overflow: hidden; /* important */ | ||
} | } | ||
#sliderContent { | #sliderContent { | ||
- | width: | + | width: 970px; /* important to be same as image width or wider */ |
position: absolute; | position: absolute; | ||
top: 0; | top: 0; |
Revision as of 19:03, 26 September 2012