当前位置:网站首页>table设置超出部分隐藏,鼠标移上去显示全部
table设置超出部分隐藏,鼠标移上去显示全部
2022-06-10 19:24:00 【追风少年?】
table {
border-collapse: collapse;
width:55em;
table-layout:fixed;/* 只有定义了表格的布局算法为fixed,下面td的定义才能起作用。 */
}
.thead th{
width: 63px;
height: 25px;
text-align: center;
}
table td{
position: relative;
/*width: 80px;*/
height: 25px;
text-align: center;
font-size: 12px;
font-weight: normal;
width:100%;
word-break:keep-all;/* 不换行 */
white-space:nowrap;/* 不换行 */
overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
}
table td:hover {
overflow: visible; /* 鼠标放上去显示全部文字 */
}边栏推荐
- Rotated sorted array
- Flutter series: UI layout introduction
- PDU session flow
- Is it safe to open a futures account online? How to avoid being cheated?
- How to use the low code platform of the Internet of things for worksheet management?
- SBC芯片35584数据手册预调节器翻译
- Batch detection of specified ports of different URLs (py script)
- 融入机器学习,让Chrome浏览器更“懂”你
- 首批!青藤通过信通院CWPP能力评估检验
- 站在今天这样一个时间节点上,或许对产业互联网有一个更加明晰的认识
猜你喜欢

Performance test plan (plan) template

FPGA state machine

Zabbix_ Monitoring ssh/crond Service - wechat alarm

Integrate machine learning to make Chrome browser more "understand" you

On the development trend of enterprise storage: cold thoughts on open source storage

HM3416H降压IC芯片PWM/PFM 控制 DC-DC 降压转换器

批量检测不同url的指定端口(py脚本)

C pointer (interview classic topic exercise)

Solution to the problem that JLINK CDC UART driver cannot be installed normally under win7 system

【技术碎片】重名文件 加后缀重命名过滤实现
随机推荐
Qualcomm qc2.0 fast charging intelligent identification IC fp6719
企业级存储发展趋势谈:开源存储的冷思考
latex tips 绝对值的竖线 \left|\right|
2022 年 DevOps 路线图|Medium
During the college entrance examination this year, all examination sites were in good order, and no sensitive cases affecting safety occurred
Problem with makefile: unable to detect file updates
Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
补水仪108K加湿器开发方案_单片机_NY8A051F_单片机开发设计开发
Change the root
Mysql database foundation
An error row size too large (& gt; 8126) occurs when MySQL's MyISAM engine switches to InnoDB
Microsoft Word 教程「5」,如何在 Word 中更改頁邊距、創建新聞稿欄?
4.35v lithium battery charging IC
首批!青藤通过信通院CWPP能力评估检验
Routine solution - the problem of horse walking on the chessboard
[Legendre] polynomial
Harbor image pull voucher configuration
Rotated sorted array
Open the door of the hybrid cloud market, Lenovo xcloud's way to break the situation
历时2年442位作者132个机构!Google发布语言模型评价新基准BIG-bench,204个任务全面评价语言模型能力,附论文