Posted by Michael Laplante on 08/08/06 20:20
This should be dead easy. I'm trying to produced a centred image on the page
framed by white trim, a black border and a caption.
This is what I have that's not working:
<p style="text-align: center;">
<span style="border: 2px solid black; background-color: white; margin: 5px;
padding: 10px;">
<img style="width: 616px; height: 639px;" alt="astronaut"
src="whatever.jpg">
<br>
This is the caption for the photo
</span>
</p>
This should be dead simple, but my borders around the image are messed up.
The span doesn't appear to "encompass" the image but is collapsed at the
bottom of the image.
M
Navigation:
[Reply to this message]
|