CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

Parent container ignores the slider in calculation of height #507

Closed jodriscoll closed 11 years ago

jodriscoll commented 11 years ago

It appears the slider is not being calculated towards the total height of the .anythingSlider. Can this be fixed through CSS, or do I have to evaluate how I'm approaching the usage of the slider?

http://jsfiddle.net/jodriscoll/53P2t/3/

http://jsfiddle.net/jodriscoll/fKCFE/50/

jodriscoll commented 11 years ago

It appears I found the issue... div.anythingControls {z-index: 100; height: 35px; opacity: 0.90; filter: alpha(opacity=90); float: right; position: absolute; left: 0; width: 702px; height: 100px; overflow: hidden; margin-top: 8px;}

Changed to... div.anythingControls {width: 702px; height: 100px; margin-top: 8px;}

Preview updated fiddle: http://jsfiddle.net/jodriscoll/fKCFE/54/