They all go to the right spots except the 3rd widget goes under where all the others are but still on the right.
Stackoverflow wasn’t being nice so I had to put the code on pastbin.
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 the right code :
CSS : http://pastebin.com/B7N5uyYZ
Changes :
1. float doesn’t have a center value ( same as lqc )
2. margin auto is not needed for float right and left ( again same as lqc )
3. THE IMPORTANT THING : When u set margin left and right to auto the margins cover the whole div so no other element can be rendered near . so a small math : (100 – (30*3))/2 = 5 .. So u need to give 5% of margin to the mid element to get in the center. ( correcting Hareesh.. it’s not 99% . it’s 100% man 😀 )