I'd like to place a "caption" under an image and insert both into the flow
of text.
I'm thinking of something like this:
(Styles shown inline for readability, they would be defined as classes)
<div style="float: left; padding: 10px"><img src="some_image .jpg"><div>my
caption/credit</div></div>
<p> enough content to flow around the image....</p>
Perhaps the image container should have a margin set rather than padding,
but padding doesn't break badly in old broken browsers like NS4.
Seems like there should be a better way to do this. This is such basic
stuff!
What about inserting the image (and caption) into the flow of the paragraph?
Aren't block level elements not allowed in paragraphs?
What's the level of support for <object data="some_imag e_path"
type="image/jpg"> ? (or is that jpeg). My IE5 (win 98) ignores the image and
my Opera 7 and NS7.1 both ignore any text following the object. Haven't
checked Mac. But that doesn't seem right. I used the example here:
<http://www.w3.org/TR/html4/struct/objects.html>
And, no, I don't want to add the "caption" with photoshop!
I wasn't quite sure where to post this, I hope 3 groups isn't overkill!
Jeff