i’ve tried everything i can think of to get a slider inside a containing div, but it won’t work. does anybody have an idea? this seems like it should be simple.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a working demo: http://jsfiddle.net/LjjmC/1/
The problem you’re seeing is that the slider is floated, so the container div appears to have no contents in the flow. By adding a “clear” div to the end of your container, the floated div appears inside the container div.