You are here: Re: CSS: having line break before but not after an element « HTML « IT news, forums, messages
Re: CSS: having line break before but not after an element

Posted by Steve Pugh on 05/25/05 15:58

Martin Magnusson <martin@-xx-blecket-xx-.org> wrote:

>I'm trying to modify a header tag to have a line break before the header
>(like display:block would do and like headers normally behave), but not
>after (like display:inline would do).
>
>How can I do this with CSS?

The closest is display: run-in
http://www.w3.org/TR/CSS21/visuren.html#run-in

The technicalities are bit complex and I've never used it myself so
I;m not sure about browser support.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

 

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

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