i have an exampe HERE
im not sure how to make the div slide down but keeping the content at the top, as in not slide down when the div slides down.
could you possibly help me with this?
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.
Do you mean sort of like this?
http://jsfiddle.net/yGZHC/3/
If so, use
position:absolute. This way the position of the element does not affect the position of other elements.EDIT: Depending on what you’re trying to do,
relativemay be better.http://jsfiddle.net/yGZHC/5/
EDIT2: And even better than that, use the height dynamically to determine how far to move the content. This way you’re not constrained to a fixed height.
http://jsfiddle.net/yGZHC/7/