I have two rows of 3 boxes, boxes, include image, heading and text. The second row doesn’t align. I have set up a JS Fiddle for this to show you my problem:
What is the issue? What have I missed out/done wrong or both?
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.
Floats can be strange when you put them in multiple rows. One solution is to add a hidden div after each column to sort them out. The usual convention is to give it the class name “clear”, with this CSS:
http://jsfiddle.net/2QJhN/3/
EDIT: Please note there are lots of different ways to solve this issue, you can wrap each row in a DIV with some other CSS, which some people prefer and may consider neater. In your case it’s still an extra DIV though.
You’d give it the classname “clearfix”:
}