It looks like the DOCTYPE is causing the image to display as an inline element. If I add display: block to the image, problem solved.
Up vote 0 down vote favorite share g+ share fb share tw.
I'm designing an HTML email template, which forces me to use tables. In the code below, I'm having trouble (1) removing the spacing below the placeholder image and (2) removing the space between the image and the caption. Here's a screenshot of how it looks in Chrome 15 on OS X 10.6.8.
Email Template Major headline goes here Caption. Lorem ipsum dolor sit amet. Click here to read more The red borders are there only to show the outlines of the cells.
I don't want them there in the final version. Html css table link|improve this question edited Dec 12 '11 at 20:10 asked Dec 12 '11 at 18:32Joseph Mornin299110 100% accept rate.
I was able to fix problem (2) by adding cellspacing="0" and cellpadding="0" to the inner table element. However, the first problem persists. I can't figure out why there are extra pixels below the image in the same cell.
Help? – Joseph Mornin Dec 12 '11 at 20:12.
Add border-collapse: collapse into the style attribute value of the inner table element. You could alternatively add the attribute cellspacing=0 there, but then you would have a double border between the cells. I.e.
I think you misunderstood the question. The borders are just placeholders so I can see the outlines of the cells. The problem is that there is extra space below the image.
– Joseph Mornin Dec 12 '11 at 20:11.
You have cellspacing="0" twice, try replacing the second one with cellpadding="0" instead.
I did this. It didn't work. – Joseph Mornin Dec 12 '11 at 20:06.
Hi As Andrew mentioned make cellpadding = 0, you still might have some space as you are using table border=1.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.