The box shadow is splling out of the slider frame. When I increase the page zoom level the slider stays in the center of the page but at 125% and over the text flows out of the container and scrollbars appear at the bottom of the panel despite adding overflow:hidden to the css. How do I make the panel, text and box shadow resize and stay in the center and get rid of the scrollbars?
/* Use this to keep the slider content contained in a box even when JavaScript is disabled */ .coda-slider-no-js .coda-slider { height: 200px; overflow: auto !important; padding-right: 20px }
/* Change the width of the entire slider (without dynamic arrows) */ .coda-slider, .coda-slider .panel { width: 800px; height:850px;}
/* Change margin and width of the slider (with dynamic arrows) */ .coda-slider-wrapper.arrows .coda-slider, .coda-slider-wrapper.arrows .coda-slider .panel { width: 600px;} .coda-slider-wrapper.arrows .coda-slider { margin: 0 10px }
/* Arrow styling */ .coda-nav-left a, .coda-nav-right a { background: #000; color: #fff; padding: 5px; width: 100px; }
/* Tab nav */ .coda-nav ul li a.current { background: #39c; }
And added a box shadow effect :
The box shadow is splling out of the slider frame. When I increase the page zoom level the slider stays in the center of the page but at 125% and over the text flows out of the container and scrollbars appear at the bottom of the panel despite adding overflow:hidden to the css. How do I make the panel, text and box shadow resize and stay in the center and get rid of the scrollbars?
http://mbmitservices.co.uk/TBSC/index.html
Full Coda slider css :