Click to See Complete Forum and Search --> : Position Image and Wrap Text Round It


kevinmcqueen
03-09-2005, 06:45 AM
I'm using CSS to position an image on a page.

Currently, the text is going behind image (I have the image inside its own div tag)

How do I get it so, when the text reaches the image, it goes to a new line, but continues to go the full width above and below the image.

I can do it using tables, but don't want to use them, as the side is tidy using HTML and CSS only.

Fang
03-09-2005, 07:15 AM
http://psacake.com/web/ar.asp
http://www.alistapart.com/articles/crosscolumn/

kevinmcqueen
03-09-2005, 07:35 AM
Thank You

Triumph
03-09-2005, 07:36 AM
Originally posted by kevinmcqueen
Currently, the text is going behind image That is because you are using position:absolute; to position the image, correct? Try float:left; (or right) instead.

kevinmcqueen
03-09-2005, 08:15 AM
Yep, your both right.

Float worked :-)