I have floated an image and used the figcaption tag to add text under it but the text is not aligned correctly. How do I position the text under the image while wrapping the body text to the left of the image?
This is the class to float the image :
And the html to caption the image :
Andy Whitfield as Spartacus
And the result
First, you don’t seem to have the opening
tag. You’ll want to float the entire figure tag, like this: http://jsfiddle.net/HPCYm/
its simple.. dont set width or hight to img tag…
You must be logged in to reply to this topic.