Overflow-x and Overflow-y

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 UTC