Sha256: 3955a63b332e80dd649f86565118589adea0ace521487004fbe6dcc675b3dc4f
Contents?: true
Size: 1.31 KB
Versions: 18
Compression:
Stored size: 1.31 KB
Contents
#carousel_container{ text-align:center; } #carousel_inner { float:left; /* important for inline positioning */ width:490px; /* important (this width = width of list item(including margin) * items shown */ overflow: hidden; /* important (hide the items outside the div) */ /* non-important styling bellow */ background: #fff; text-align:center; } #carousel_ul { position:relative; left:-210px; /* important (this should be negative number of list items width(including margin) */ list-style-type: none; /* removing the default styling for unordered list items */ margin: 0px; padding: 0px; width:9999px; /* important */ /* non-important styling bellow */ padding-bottom:10px; } #carousel_ul li{ float: left; /* important for inline positioning of the list items */ width:55px; /* fixed width, important */ /* just styling bellow*/ padding:0px; height:38px; background: #fff; margin-top:10px; margin-bottom:10px; margin-left:5px; margin-right:5px; } #carousel_ul li img { .margin-bottom:-4px; /* IE is making a 4px gap bellow an image inside of an anchor (<a href...>) so this is to fix that*/ /* styling */ cursor:pointer; cursor: hand; border:0px; } #left_scroll, #right_scroll{ float:left; height:10px; padding-top:15px; width:26px; background: #fff; } #left_scroll img, #right_scroll img{ /*styling*/ cursor: pointer; cursor: hand; }
Version data entries
18 entries across 18 versions & 1 rubygems