Spacing between image caption and paragraph
-
I am having a spacing problem with images in my blog. Here is a sample link – http://kenyakidscan.org/2002/03/
I cannot get spaces between the image caption and the first paragraph. Sometimes, I can get the caption right under the picture but can never get a space between the next paragraph. I’ve tried <p> tags, <br> tags, etc. Nothing works. I am using the Tarski theme if that matters but it seems that I should at least be able to code it correctly.
Obviously, if I put the picture at the bottom, I don’t have to worry about it but for some of these posts, I would like the image at top.
Thanks for any help. I haven’t been able to find an answer in other forum posts yet.
-
If the caption has to stick to the picture you might put both in a div with a margin underneath. Since you are already using divs to center the image you’ll just have to add
margin-bottom:12px;
to the style attribute (12 is just an example). That is to say that the tag:
<div style="text-align:center;">
just before the image should read:
<div style="text-align:center; margin-bottom:12px;"> -
- The topic ‘Spacing between image caption and paragraph’ is closed to new replies.