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