Reply to width property

Your name:

Reply:


Posted by David Graham on 12/19/05 14:55

I read a post were a guy had trouble because Firefox would not play ball
with the width property on a non-replaced inline element, so the code below
did not work as the OP thought it would .
<span style="width:100px;background-color:Red;">text</span>
<span style="width:100px;background-color:Green;">test</span>
<span style="width:100px;background-color:Blue;">test</span>

The answer given was:
"And, since you haven't altered its display, the span is a non-replaced
inline element....."

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). Just getting a bit lost with
the terminology.
thanks in advance
David

[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

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