Re: width property
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
.
Relevant Pages
- Re: Styling a range of HTML headings inside TD
... blocks and inlines, but whether something's block or inline in this ... The initial value of the `display' property and several other ... properties depends on the layout engine, and at least in the case of HTML ... A SPAN is just display: block if some stylesheet somewhere sets it ... (comp.infosystems.www.authoring.stylesheets) - Re: Line spacing not working
... Korpela> browser may apply a browser style sheet without telling what it ... browser default stylesheet set any styles on span. ... and compared the results with not setting display on the SPAN at ... The HTML specifications ... (comp.infosystems.www.authoring.html) - Default Display Issues
... I could span my display across two ... monitors which is required for some of the work I do. ... which causes the screens to span in the wrong direction (left of screen on ... (microsoft.public.win2000.general) - Default Display Device Issues
... I could span my display across two ... monitors which is required for some of the work I do. ... which causes the screens to span in the wrong direction (left of screen on ... (microsoft.public.win2000.hardware) - Re: CSS tooltips work in FF, but not in IE
... a span {display: none;} ... *some* example HTML and CSS was given. ... declaration block of your a:hover selector, ... (comp.infosystems.www.authoring.stylesheets) |
|