- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 02 Oct 2002 11:56:36 -0400
- 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 UTC