/ Published in: HTML

The nice part about it is that the caption is locked to the image. The figure can be positioned and styled and the caption can be rendered with any affect that can be applied to any other text element.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<figure style="width:110px;float:left;margin:10px;text-align:center; background-color:white;border:1px solid black; border-radius:5px;box-shadow:1px 1px 1px 1px;padding-top:5px;"> <img src="../images/cd100.jpg"> <figcaption>this is image one</figcaption> </figure>
URL: http://coboldinosaur.com/pages/Captions_for_Lists_and_Images.html
Comments
