Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS AnythingSlider Overflow

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29292
    jagweb
    Member

    Hello,

    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.2

    By 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; }

    #77480
    virtual
    Participant

    Do you have a link?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.