Reply to Re: CSS: having line break before but not after an element

Your name:

Reply:


Posted by Steve Pugh on 05/25/05 17:12

Martin Magnusson <martin@-xx-blecket-xx-.org> wrote:
>Steve Pugh wrote:
>> 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.
>
>Great, that's what I was looking for, but I couldn't find it at W3Schools.

W3Schools is very IE-centric (and hence rather limited) as well as
being rather error prone, better to check the actual CSS specs at
w3c.org.

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/>

[Back to original 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

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