text wrap help

When you have a photo on a web page does anyone know how to get text to start at the top of the left side of the photo and then fallow it down the side?
 
http://www.w3.org/TR/REC-html40/present/graphics.html#h-15.1.3

That said, everything is depricated (works but you are encouraged not to use it). The current way of doing it would be to use css and to 'float' the image.

I've 'borrowed' (aka copy-paste :P) this code from http://www.devlounge.net/design/aligning-images-the-right-way-using-css
This would be the code to float the image beside some text.
Code:
.align-right { float:right; margin: 0 0 15px 15px; }
Code:
<img src="TheImageLocation.jpg" alt="My Image Description" class="align-right" />
<p>
some text.....blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
</p>

edit: I've moved your post to internet discussion.
 
Last edited:
Back
Top