-
Caption to Photo
When I use the following their is a big space between photo and caption....what am I doing wrong?
table align="left">
<tr>
<td><img src="images/shroud.jpg" width="145" height="200"
</td>
</tr>
<tr>
<td>>
<center><b>Pavel de Barfart</center>
</td>
</tr>
</table>
-
Hi Barnum. You have an extra bracket that is causing the problem. Remove the bit in red:
Code:
<table align="left">
<tr>
<td>
<img src="images/shroud.jpg" width="145" height="200"
</td>
</tr>
<tr>
<td>>
<center><b>Pavel de Barfart</b></center>
</td>
</tr>
</table>
Also notice the closing </b> (in blue). You can get away with not including it, but it's safer to have it there.
-
Did this and he caption is still about three lines below the photo?
-
It might be your CSS then. Can you post a link? Then we can tell you the problem straight away. :)
-
You got me looking at the CSS, and I found the error. Image margin was too big....
Thanks for all your help and suggestions. Never thought about the CSS part.
-
Well done. Glad yo got it sorted, Barnum. It's more satisfying to find the answer yourself. :)
-
You are right, but you guys got me looking at it, and I cannot thank you enough....love this site.
-
That's great to hear, Barnum. Thanks. :)