You are here: Re: width property « HTML « IT news, forums, messages
Re: width property

Posted by Spartanicus on 12/19/05 16:34

"David Graham" <david.graham18@ntlworld.com> wrote:

>Could someone explain what sort of thing you could do to a span to alter its
>display and thereby turn it into a replaced inline element (which according
>to logic would respond to the width property).

You can't "turn it into a replaced inline element". You can set the CSS
display property to "block" (display:block), or to "inline-block"
(display:inline-block), the width property applies to both. The
"inline-block" value is supported by IE5.5+, Opera 7+, recent iCabs and
recent KHTML based browsers (Safari, Konqueror). Inline-block is *not*
supported by Gecko based browsers (Firefox, Mozilla suite).

--
Spartanicus

 

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

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