作者:霜霜c | 来源:互联网 | 2023-01-02 16:17
Iwasjustskinningawebsiteandfoundthatoverflow:visiblerenderstwocompletelydifferentthing
I was just skinning a website and found that overflow:visible renders two completely different things from Firefox to IE.
我只是剥了一个网站,发现溢出:可见从Firefox到IE呈现两个完全不同的东西。
Firefox just displays everything outside of the container... like this:
Firefox只显示容器外的所有内容......如下所示:
--------------------------------
| div |
--------------------------------
//overflow content from the div above
But IE expands the container to fit the overflow... like this:
但IE扩展容器以适应溢出...像这样:
-----------------------------------------
| div |
| //overflow content from the div above |
-----------------------------------------
Anyone know why IE displays it differently and how to get them both to render the same way Firefox is?
任何人都知道为什么IE以不同的方式显示它以及如何让它们以与Firefox相同的方式呈现?
Thanks,
Matt
1 个解决方案