eagerwatcher
Member
Posted 3 years ago #
Hi,
I wondered what you would suggest doing if you want text on one side of an image that's not the full length of the image, and you don't want it top or bottom aligned.
I achieved it here http://pay-off-debts.org/ but it took a lot of messing around with <p> </p> and hopefully theres an easier way.
Any pointers would be appreciated.
thanks,
Jane
What image are u talking about in the link u gave?
eagerwatcher
Member
Posted 3 years ago #
There's only one image with wrapped text :-)
The tablet with the words "debt" relief" on it.
The way the text sits to the right of it is what I wanted to achieve but I had a lot of problems getting that effect.
thanks for the reply,
Jane
try to add a:
style="float:left"
to your image.
eagerwatcher
Member
Posted 3 years ago #
Thanks for the help.
Where should I place style="float:left" in the following code?
I will place an image below and try to have text align with it but not be bottom or text aligned.
<img src="http://get-financial-help.org/images/yardsale.jpg" alt="yard sale" />
Ok the text is on the right and
the picture is on the left
and this text is on the right
but how does it look?
----
Jane
You should place the style="float:left" in the img tag like this:
<img src="http://get-financial-help.org/images/yardsale.jpg" alt="yard sale" style="float:left"/>
eagerwatcher
Member
Posted 3 years ago #
That works well thank you.
The problem, as you probably know, was that when the image was simply left aligned it moved down when I moved the text down.
I have a 'similar' question about aligning a column of text but since it's different I've posted it here ..
http://wordpress.org/support/topic/270211?replies=1#post-1072776
Jane