在一个td内要显示的内容超过了td的宽度,要使鼠标放在省略内容上即显示全部内容,要怎么设置??_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:25:08
Original
1335 people have browsed it

除了设置TD的title属性还有没有别的办法。
设置了title之后不管是不是超过了宽度放在上面都会显示,效果不够炫。


回复讨论(解决方案)

老虎传送门

可以使用个动态效果,使用css中的hover 鼠标移动上去之后便显示出全部内容,移出则显示部分

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!