i’m trying to use .toggle method (jquery) in a board.
I’ve set up a JsFiddle.
Here is the problem: when i click on the div #forum1, the div #forum3 goes on the right. I would prefer that this div goes to the bottom…
Anyone has an idea about that?
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.
Isn’t that what you’d expect from the float property? Making it longer causes free space right to put the next div, thereby moving it over there.
You can obtain the result you have in mind by putting them both in a vertical div of half the width of the page. The first would then contain the odd numbers and the second one the even.