On this page, the text under the photos in the main section (a.event) isn’t showing the 5px padding top and bottom. Any ideas why? Thanks guys =)
a.event {
width:315px;
height:auto;
border:0;
padding: 5px 0;
}
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.
Your a tag is wrapping around the image and the text. So the padding appears above the image and below the text.
Firebug is a good tool for inspecting the HTML that’s being rendered. It makes it trivial to find these kinds of errors.