W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Overflow-x and Overflow-y

From: David R <david@davidr.co.uk>
Date: Sun, 24 Apr 2005 14:29:11 +0100
Message-ID: <03CEDBDC4DCA8F48A75216CA390B2981014840@server.willow>
To: <www-style@w3.org>
Proposal:

 

      'd like to prose the addition of Trident's "Overflow-x" and
"Overflow-y" CSS extensions to the CSS3 Draft spec, or adjust the
existing "overflow" property.

 

Justification clause:

 

      When using "overflow: auto;" or "overflow: scroll;" on an element
with content that does not fit in the width of the element, nearly all
browsers include the horizontal scrollar inside the box of the element
the property was applied on. This will cause the element to have a
vertical scrollbar as well, even when one is not normally needed (nor
desired).

 

Syntax:

 

      New properties:

 

            Enum "overflowType" { auto | hidden | scroll | visible }

 

            overflow-y: overflowType

            overflow-x: overflowType

 

      Proposed change to existing "overflow" property:

 

            Entire element:

 

            overflow: overflowType;

 

            X and Y axis respectively:

            

            overflow: overflowType overflowType;

 

 

--

-David R
Received on Sunday, 24 April 2005 13:28:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT