Html – css indentation


I like to do, as in indesign or quark… paragraph indent… for picure

how is the proper way to do that in html and css

I dont want the text to go round the image…
i like to have the whole left part protected
putting margin to the picture will do the trick… but for 10-20-30 pixel (fixed amount (bad))

i have try negative positioning.. no luck !

here is a little image that explain !

alt text

Best Solution

Have you tried putting both columns in and div and floating them left, as in:

<div style="float:left;">
  <img src="x"/>
<div style="float:left;">
  Text ....

Floating divs left will keep them side-by-side as long as there is enough room.