Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What browsers support `overflow-y`?

Tags:

html

css

From what I understand, overflow-y is a CSS3 selector. But at http://www.findmebyip.com/litmus, it doesn't have that selector shown, show I don't know what browsers support it.

First, are overflow-y and overflow-x actually CSS3 selectors?

Second, what browsers support them?

like image 346
Alexander Bird Avatar asked Feb 03 '11 21:02

Alexander Bird


People also ask

Can I use overflow visible?

overflow: visible By default, the overflow is visible , meaning that it is not clipped and it renders outside the element's box: You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.

What is CSS overflow clip support?

overflow: clip enables developers to disallow any type of scrolling for the box, including programmatic scrolling. Additionally the box is not considered a scroll container, does not start a new formatting context, and allows the clipping to apply to a single axis via overflow-x and overflow-y.

What is overflow clip?

In short, overflow-clip tells the browser that content that goes beyond the element's bounds should be hidden—much like declaring. . Where the clip keyword is different in that it forbids all scrolling, whether by the user or programmatically.


2 Answers

No, overflow-x and y are not CSS3 selectors. They are simply properties, similar to overflow but with direction restrictions.

From http://reference.sitepoint.com/css/overflow

The CSS3 overflow-x and overflow-y properties are partially supported in Internet Explorer for windows versions 5 and 6 and fully supported in Internet Explorer versions 7 & 8. Safari 3+, Chrome 2+, Firefox 2+ and Opera 9.5+ all support these properties.

like image 82
sidyll Avatar answered Sep 30 '22 22:09

sidyll


The overflow-y and overflow-x are not CSS3-exclusive properties.

They are (partially) supported in Internet Explorer 6.x+, Firefox 1.5+, recent versions of Safari, the beta of Opera 9.5, and (of course) Google Chrome.

Source (same as @sidyll): http://reference.sitepoint.com/css/overflow

like image 29
drewblaisdell Avatar answered Sep 30 '22 23:09

drewblaisdell