带有嵌入式 div 和绝对位置的 Css 溢出?

标签 css

我试过这样做: http://jsfiddle.net/kritya/wTnEg/

当我点击带有 id add 的 div 但当它超出带有 content-doing 的类时,它不会获得滚动条。

我做错了什么?

最佳答案

我在 Mac 上的 FF 中获得滚动条。 block 的高度为 1.5em 可能太窄而无法使用滚动条。一开始就试着把那个容器弄高一点。

关于带有嵌入式 div 和绝对位置的 Css 溢出?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7124258/

相关文章:

css - 在手机上将圆圈居中对齐

html - 添加 div 后图像移出容器

html - :hover not rendering correctly in Safari

php - 无法加载资源 403 Forbidden - Herkou 上的静态 bootstrap/html 站点 - 权限问题

css - 为什么具有z-index值的元素不能覆盖其子级?

c# - 将 Razor Web App 作为中间件插入 Web Api 元素时,不会加载 css

html - 显示 : inline; fails when <form> is present

jquery - CSS 或 jQuery 获取具有某种类型的第一个 child 的元素

css - IE 中 xml 标准兼容模式的 Doctype

javascript - CSS : Amazingly strikethrough not working on child display:inline-block div