W3C home > Mailing lists > Public > www-html@w3.org > October 2002

Re: Overflow:scroll query; not working in Netscape

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 02 Oct 2002 11:56:36 -0400
Message-Id: <200210021556.LAA11017@no-knife.mit.edu>
To: "Samik Mukherjee" <samik_mukherjee@infosys.com>
cc: www-html@w3.org

> Any alternative solution?
> 
> See the attached HTML. I want it to be displayed in Netscape in the same
> fashion it's displaying in IE.
> 
> I tried with SPAN also, didn't work.

Well, the one you attached is the one "with SPAN"... If you look at the
definition of the overflow property [1] you see that it says:

  Applies to:   block-level and replaced elements

<span> is by default display:inline and is not a replaced element, so
"overflow" does not apply to it.

[1] http://www.w3.org/TR/REC-CSS2/visufx.html#propdef-overflow

Boris
-- 
Economists state their GNP growth projections to the
nearest tenth of a percentage point to prove they have a
sense of humor.
                             -- Edgar R. Fiedler
Received on Wednesday, 2 October 2002 11:56:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT