I have a h2 tag, the a div with some boxes in and the same again. However the h2 has a border top and that border top is going all the way up to the top of the div before, even though it is outside that div.
I have made a jsfiddle to illustrate:
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.
If I understood right, the problem is that upper div is floated to left. Solution is add
clear: both;(orclear: left;) toh2.