html溢出:自动无法在IE上运行 [英] html overflow : auto not working on IE

查看:72
本文介绍了html溢出:自动无法在IE上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个div,它的文字在运行时填充.该div的溢出设置为auto,但仍在IE中显示内容.但是,滚动条也出现了,但是内容超出了div,滚动不起作用. 有什么主意吗?

I have a div which have a literal which is filled at runtime. The overflow of that div is set to auto but still in IE its showing the contents. However the scrollbar is also appearing but the content is going beyond div and scroll is not working. Any idea?

推荐答案

您是否将包含的DIV设置为"position:relative"?将此作为参考:

Did you set the containing DIV to "position: relative"? See this as a reference:

http://snook.ca/archives/html_and_css/position_relative_overflow_ie/

这篇关于html溢出:自动无法在IE上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆