Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
April 8, 2005, 1:02 pm
rate this thread
By default, an image with text after it has the text align this way.
What are you REALLY trying to accomplish? That the text doesn't wrap when the
browser is resized?
<img src="foo.jpg">some text
will have the text aligned to the bottom and to the right of the image, IF
the window has space enough. Putting that in a div with a width should
prevent wrapping. In theory. :)
The man who fell into an upholstery machine is fully
Re: align a text relative to the bottom of a floated image
Thanks, actually I didn't want the text to line exactly to the bottom of the
picture, but to be a bit higher, and to do that I thought I had to include
it in a <div>.
I realised I could actually include the label in a <span> and position the
Problem solved, thanks.
- » align a text relative to the bottom of a floated image
- — Previous thread in » HTML Authoring Forum