how do you postion text to the left side of an image, help?!? |
how do you postion text to the left side of an image, help?!? |
Aug 4 2008, 03:35 AM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 66 Joined: May 2006 Member No: 407,989 |
how do you postion text to the left side of an image rather than above or below an image
|
|
|
|
![]() |
Aug 4 2008, 03:47 AM
Post
#2
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Try this:
CODE <p style="align:left;">Place your text here. <img src="URL"></p> Replace the text in bold with the text that you want to move to the left and replace URL with the url of your image. |
|
|
|
Aug 4 2008, 05:19 AM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
^ "align" isn't a CSS property so that unfortunately won't even justify the text. i think he's asking about aligning the image though, not the text.
to do that, just put align="ALIGNMENT" in your <img> tags, where ALIGNMENT can be any of these: absbottom absmiddle baseline bottom left middle right texttop top if you want your text to wrap around a picture on the right, you'd use CODE your text <img src="URL" align="right" />
|
|
|
|
Aug 4 2008, 12:36 PM
Post
#4
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Whoops, I put it on the <p> tag instead of the <img> tag. My bad. Here's the corrected code:
CODE <p>Place your text here. <img src="URL" align="right"></p>
|
|
|
|
![]() ![]() |