Overflow is supported in both IE and non-IE browsers! But when I was making something yesterday, a problem arose!
This is how the CSS starts:
# tmd{border:1px solid #9F9F9F;padding:2px 5px;height:175px;width:140px;overflow-y:scroll;}
This is the content:
I don’t want a horizontal scroll bar. I don’t want a horizontal scroll bar. I just want a vertical scroll bar. It’s ok, so I wrote it like this “overflow-y”;
It works in IE and FIREFOX, but not in OPREA;
’s scroll bar, I just want a vertical scroll bar.
That’s it, so I wrote it like this “overflow-y”;
It works in IE and FIREFOX
, but not in OPREA;
Since overflow-y is a proprietary attribute of IE, it is not supported in OPREA. If it is not used this way in IE, there is no way to remove the horizontal scroll bar!
So we have to solve OPREA again, and we can only recognize it by adding overflow:auto;OPREA!
See the effect: