Re: Overflow-x and Overflow-y

It is already in the specification.

http://www.w3.org/TR/2002/WD-css3-box-20021024/#the-overflow-x

I believe Mozilla even implemented it recently.


~Grauw

David R wrote:
> 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
> 


-- 
Ushiko-san! Kimi wa doushite, Ushiko-san!!

Received on Sunday, 24 April 2005 19:06:34 UTC