ie7下使用white-space:nowrap时padding-right失效问题记录
来源:互联网 发布:淘宝店铺刷流量 编辑:程序博客网 时间:2024/06/05 15:09
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>test</title><style>*{margin: 0;padding: 0;}p{width: 210px;}p span{display:block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;background-color: #ccc;padding-right: 20px;}</style></head><body><p><span title="长度测试长度测试长度测试长度测试长度测试">长度测试长度测试长度测试长度测试长度测试</span></p></body></html>
chrome下效果:
ie7下效果:
0 0
- ie7下使用white-space:nowrap时padding-right失效问题记录
- CSS强制不换行(white-space:nowrap)IE使用问题
- white-space: nowrap
- IE7下解决A标签使用padding宽度自适应 padding失效的问题
- white-space: nowrap 导致有宽度也不换行的问题
- 关于display:flex碰上white-space nowrap的问题
- 一句white-space:nowrap解决IE6,IE7下浮动元素不自动换行
- white-space: nowrap;强制标签不换行
- white-space: nowrap;”此代码的意思?
- “white-space: nowrap;”此代码是什么意思?
- white-space: nowrap; text-overflow: ellipsis;
- 文本不换行white-space: nowrap;
- IE下input text在字符超出文本框长度时,padding-left和padding-right失效
- IE下input text在字符超出文本框长度时,padding-left和padding-right失效
- table-layout的fixed属性 white-space: nowrap
- float:left;overflow: hidden;white-space:nowrap;text-overflow:ellipsis;
- float:left;overflow: hidden;white-space:nowrap;text-overflow:ellipsis;
- 在IE6 下span标签换行问题解决--》 'white-space:nowrap' 仅作用在纯文本内容上
- Kotlin For Android简介——有趣实用的功能
- DIV浮动IE文本产生3象素的bug
- Palindrome Number
- VC 重绘,闪烁,花屏
- 应用环境下的TIME_WAIT和CLOSE_WAIT
- ie7下使用white-space:nowrap时padding-right失效问题记录
- ubuntu14.04 执行adb提示提示adb: No such file or directory
- I2C总线协议2
- 7.3 Javascript:表单验证-初识正则
- 多线程编程指南
- iOS 调用系统设置
- MVP for Android: 如何组织显示层的内容
- 使用putty远程连接云服务器
- Oracle物化视图