text underneath a photo?
-
How would I get the text accompanying a photo to remain completely underneath the photo.The photo is to the right, and the text runs up along the left side after I upload changes. Thank you.
-
If you copy and paste, you’re always going to end up with problems unless you Paste As Plain Text and format afterwards. Looks like that might be your problem. A centered image won’t normally cause the problem you’re running into.
-
Image alignment: left or right -> text-wrap; center (as rain says) or none -> no text-wrap.
-
The text I am attempting to relocate to underneath the photo is:
the people of Viet Nam say, “thank you Americal Division!”
Would it be possible, then, to achieve that goal via a “revision” of the HTML code listed here? Thank you.
<h2><img class=”alignright size-full wp-image-172″ src=”http://empireglassdarkly.wordpress.com/files/2009/09/my_lai_massacre.jpg” alt=”” width=”323″ height=”200″ /></h2>
<h2>16 March 1968: the people of Viet Nam say, “thank you, Americal Division!”</h2> -
why are you inserting the image inside a “h2” tag? that’s incorrect. H2 tag is for titles or header texts.
If you want a caption for your image, read this, it might help:
http://csswiz.wordpress.com/2009/08/11/floating-images-with-captions/
-
@4854derrida: Change alignright to alignnone, and remove the opening and closing h2 tags from around the image code.
@devblog: 4854derrida wanted the text to be more prominent; I guess he accidentally highlighted the whole post instead of the text only.
-
I see. Then I would suggest that instead of using “hX” tags, it’d be better if the OP uses this:
<span style="font-size: 150%; font-weight: bold;">16 March 1968: the people of Viet Nam say, "thank you, Americal Division!</span>Of course, if 150% doesn’t work for the OP, a higher or lower value can be used.
-
Thank you Dev and Panos. The text @ 150% seems fine.
Ought I to conclude, then, that it’s going to be difficult to have the text beneath the photo when the photo is to the right, i.e., I would need to keep the photo “alignnone” to get the text beneath it?
Much obliged…
-
Yes, with an image aligned right you’ll get text to the left unless you apply special coding in the html post editor. But why would you want that? Your post looks fine now: it wouldn’t be better with a blank space to the left of the image.
-
Thanks again Panos.
Out of curiosity–as well as in the interest of future photo/posts–what would that “special HTML coding” look like?
-
Oh it can be done in various ways. Try this (in the html editor, of cource):
<div style="text-align:right;">IMAGE_CODE_HERE</div>(By the way, I said your post looks fine now, but I hadn’t checked your blog very carefully: in Safari it’s not ok!)
-
You would use code to build a table.
<table> <tr> <td > LEFT_CONTENT_HERE (this means your text/info about the picture in your case) </td> <td > RIGHT_CONTENT_HERE (this means your link to the picture, a URL) </td> </tr> </table>‘table’ means make a table.
‘<tr>’ means make a row.
‘<td>’ means table data for a cell in your row.
‘</td>’ means end the information (links, text, pics) in the cell: that is all that goes into that cell.
‘</tr>’ means end the row or cells
‘</table> means the table is finished. -
-
-
“(By the way, I said your post looks fine now, but I hadn’t checked your blog very carefully: in Safari it’s not ok!)”
Sincere thanks for the alert. By the way, in order to have a look myself I’ve just downloaded Safari for Vista. I am able to access the site, but not as blog host, only as a visitor. In that regard, are there any “adjustments” I might make?
A second look and “evaluation”–when time permits–is greatly appreciated, for aesthetic considerations (they are relevant as well). Much obliged…
- The topic ‘text underneath a photo?’ is closed to new replies.