CSS:UL的/ OL's与Div在IE中左移
The scenario is that the client wants a floating div (the gray box) with text that wraps around it. However some of that text includes ul's and ol's, which hide behind the floating div in IE6.
场景是客户端想要一个包含文本的浮动div(灰色框)。然而,其中一些文本包括ul和ol,它们隐藏在IE6中的浮动div之后。
I tried wrapping the ul's/ol's in a div to see if that would help, but have been unsuccessful. Has anyone experienced this problem before and found a suitable solution?
我试着在一个div中包装ul / ol,看看是否会有所帮助,但是没有成功。有没有人遇到过这个问题,找到了合适的解决方案?
(note: This is an old site with limited ability to be able to modify much else within the layout)
(注意:这是一个旧网站,能够修改布局中的其他内容的能力有限)
3 个解决方案
#1
I think you can modify the li's to display their bullets inside instead of outside and that should help you...
我想你可以修改li来展示他们的内部而不是外部的子弹,这应该可以帮助你......
ul {
list-style-position: inside;
}
更多相关文章
- js去掉html标签和去掉字符串文本的所有的空格
- HTML5用户身份认证源代码:注册、登录、会话保持的解决方案
- 如何将添加到ajax html编辑器的文本保存为html文档?
- 如何将每个单词都包含在一个span中,同时保留文本格式
- 文本输入占位符不在IE和Firefox中显示
- 用于在表中强制换行的PHP或HTML/CSS解决方案
- php 读取文本文件
- 在数组中找到键是找不到文本[重复]
- 如何实现分布式文件上传解决方案?