text-overflow:ellipsis; 使用
2024-09-14 15:30:50
ul li{ height:25px;
line-height:25px;
width:200px;
overflow:hidden;
white-space:nowrap;
-moz-text-overflow:ellipsis;
text-overflow:ellipsis; }
注意以上几个的先后顺序, overflow white-space 等,如果顺序出错,或者漏掉了某一个,会造成本样式失效!
最新文章
- 【新年呈献】高性能 Socket 组件 HP-Socket v3.1.2 正式发布
- 基于 debootstrap 和 busybox 构建 mini ubuntu
- Mysql学习笔记(五)数据查询之测试sql部分。
- linux下emacs配置文件
- POJ 3207 Ikki's Story IV - Panda's Trick (2-SAT,基础)
- sql server 发布时提示'dbo.sysmergepublications'无效的解决办法
- 操作hadoop的经验积累
- VC实现URL编解码器
- 【重大bug】viewpager使用的时候加载数据应该在setOnPageChangeListener里加载
- JS规范2
- final修饰符,多态,抽象类,接口
- Beta冲刺NO.3
- Unity外包团队:Daydream控制器只提供了3个自由度
- httpd-vhosts.conf配置
- hadoop HA 配置 + zookeeper 服务注册
- SynergyS7G2RTC时钟模块的使用
- 子类化GetOpenFileName/GetSaveFileName, 以及钩子函数OFNHookProc的使用的简要说明
- json的用法
- Granting and Managing Item Level Permission using SharePoint2013 Designer Workflow
- redis安装全过程
热门文章
- IPv6 相关的工作简介
- 数据结构之hash表
- CUDA Memories--CUDA记忆体(翻译+整理+测试)
- Codeforces Round #335 (Div. 2) B. Testing Robots 水题
- Codeforces Round #306 (Div. 2) C. Divisibility by Eight 暴力
- C# 仿制QQ弹出新闻消息框
- TP第2个项目总结
- [Angular 2] Order Dynamic Components Inside an Angular 2 ViewContainer
- WSS3.0 SDK中的不同列表类型的对应值
- gpus_ReturnGuiltyForHardwareRestart 错误