Quote:
p><a href=""><img src="" width="110" height="110"></a>aaa bbb ccc</p
I want the image to be floated, and the text of the paragraph should
flow around it with the firt line being indented. I have the following
CSS:
a { float: left ; border: 1px solid green ; }
img { vertical-align: bottom ; }
p { text-indent: 1em ; } |
After a little playing, I got this:
body {width : 300px;}
div.image_indent img {float : left; margin : 10px;}
div.image_indent p {text-indent : 1em; text-align : justify; margin : 0;}
<div class="image_indent">
<a href=""><img src="" width="110" height="110"></a>
<p>this is a whole bunch of random text. this is a whole bunch of random
text. (etc etc etc)</p>
</div>
Which does just what you require. (The body width is just to demonstrate
that it works)
HTH.
P.