- This topic is empty.
-
AuthorPosts
-
June 8, 2010 at 8:47 pm #29292
jagweb
MemberHello,
I am using the anythingslider, which I love so far. More features than any other featured content slider.
My problem can be seen in the following picture. The content overflows the container. I have tried adding overflow:hidden; where I could and it doesn’t help. Code is below the picture. Thanks for any help
[img]http://i45.tinypic.com/qp3yiu.png[/img]
Code:/*
anythingSlider v1.2By Chris Coyier: https://css-tricks.com
with major improvements by Doug Neiner: http://pixelgraphics.us/
based on work by Remy Sharp: http://jqueryfordesigners.com/
*/.anythingSlider { width: 1066px; height: 360px; position: relative; margin: 0 auto 15px; }
.anythingSlider .wrapper { width: 1066px; overflow: hidden; height: 341px; margin: 0 40px; position: absolute; top: 0; left: 0; }/* Width below is max for Opera */
.anythingSlider .wrapper ul { width: 32700px; list-style: none; position: absolute; top: 0; left: 0; margin: 0; overflow: hidden; }
.anythingSlider ul li { display: block; float: left; padding: 0; height: 317px; width: 900px; margin: 0; }
.anythingSlider .arrow { display: block; height: 200px; width: 67px; background: url(../images/arrows.png) no-repeat 0 0; text-indent: -9999px; position: absolute; top: 65px; cursor: pointer; }
.anythingSlider .forward { background-position: 0 0; right: -20px; }
.anythingSlider .back { background-position: -67px 0; left: -20px; }
.anythingSlider .forward:hover { background-position: 0 -200px; }
.anythingSlider .back:hover { background-position: -67px -200px; }#thumbNav { position: relative; top: 323px; text-align: center; }
#thumbNav a { color: black; font: 11px/18px Georgia, Serif; display: inline-block; padding: 2px 8px; height: 18px; margin: 0 5px 0 0; background: #c58b04 url(../images/cellshade.png) repeat-x; text-align: center; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#thumbNav a:hover { background-image: none; }
#thumbNav a.cur { background: #e0a213; }#start-stop { background: green; background-image: url(../images/cellshade.png); background-repeat: repeat-x; color: white; padding: 2px 5px; width: 40px; text-align: center; position: absolute; right: 45px; top: 323px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#start-stop.playing { background-color: red; }
#start-stop:hover { background-image: none; }/*
Prevents
*/
.anythingSlider .wrapper ul ul { position: static; margin: 0; background: none; overflow: hidden; width: auto; border: 0; }
.anythingSlider .wrapper ul ul li { float: none; height: auto; width: auto; background: none; }June 9, 2010 at 6:24 pm #77480virtual
ParticipantDo you have a link?
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.