You are here: Re: margin for multi-line span? « HTML « IT news, forums, messages
Re: margin for multi-line span?

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация