I have two divs. The top one has a different border-bottom, but it is overlapping the border on the right side. You can see it here if you look closely.
Is there a way to restrict the border to within the left and right borders?
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.
I think I’ve divined your meaning. You don’t want the bottom border to overlap the side borders? You’ll have to put your divs in a container and apply the border to that container:
http://jsfiddle.net/zu4p8/10/