Posted by wolfing1 on 07/11/06 21:19
Jonathan N. Little wrote:
> wolfing1@gmail.com wrote:
> > I have a <span> block with text that wraps for several lines. I want it
> > with a margin of 20px so I did a...
> > <span style="margin-left:20px">.......</span>
> > But only the first line showed the margin. How can I have it so all
> > the lines resulting from the <span> are shifted 20px to the right? (or
> > should I use tables for this?)
> >
>
> No, you want a block not inline element.
>
> <div style="margin-left:20px">.......</div>
>
eh?
thought <div> ignored left and right margins
[Back to original message]
|