Skip to content

Instantly share code, notes, and snippets.

@skuter80
Created May 27, 2010 04:01
Show Gist options
  • Save skuter80/415444 to your computer and use it in GitHub Desktop.
Save skuter80/415444 to your computer and use it in GitHub Desktop.
#slideshow #slidesContainer {
margin:0 auto;
width:560px;
height:263px;
overflow:auto; /* allow scrollbar */
position:relative;
}
#slideshow #slidesContainer .slide {
margin:0 auto;
width:540px; /* reduce by 20 pixels to avoid horizontal scroll */
height:263px;
}
/**
* Slideshow controls style rules.
*/
.control {
display:block;
width:39px;
height:263px;
text-indent:-10000px;
position:absolute;
cursor: pointer;
}
#leftControl {
top:0;
left:0;
background:transparent url(img/control_left.jpg) no-repeat 0 0;
}
#rightControl {
top:0;
right:0;
background:transparent url(img/control_right.jpg) no-repeat 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment