Sent by Gunlaug_Sørtun on 18 February 2005 01:01
Andrew wrote:
> If I want to float images to the left of a paragraph I can use some
> simple CSS. But what if I want to ensure the following paragraph does
> wrap around the image (so each paragraph and its each appear in an
> invisible box)
img {float:left;}
br.left {clear:left; font-size:1px; line-height: 0px; height: 0;}
<img src="test1.gif />
<p>Some text which will be to the right of the image</p>
<br class="left" />
<img src="test2.gif />
<p>Some text which will be to the right of the image</p>
<br class="left" />
.... and so on...
You may use any clearing-method/-element you like, as long as it's in
the right position -- after each "image/paragraph box".
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/