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

Posted by David Dorward on 12/19/05 15:57

David Graham 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 a span into a replaced inline element. Such elements are
things like <input> and <img>. You could set display: block to turn the
span into a (from a CSS POV) block element, but then you would get all the
other effects of being displayed like a block.


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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