CSS implements title beyond width ellipsis to represent_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:40:35
Original
987 people have browsed it

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="author" content="http://www.51texiao.cn/" /><title>标题</title><style type="text/css">div{  overflow:hidden;  white-space:nowrap;  height:30px;  width:230px;  border:1px solid red;  line-height:30px;  margin-top:10px;  text-overflow:ellipsis;}</style></head><body><div class="first">每一天都是新的,所以生活要和昨天有所不同!</div></body></html>复制代码
Copy after login

 

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!