Home > Web Front-end > HTML Tutorial > Personal Notes-CSS_html/css_WEB-ITnose

Personal Notes-CSS_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:13
Original
1008 people have browsed it

Hide text beyond container

.hiddenoverflowtext {	width:265px;	line-height:25px;	text-overflow:ellipsis;	white-space:nowrap;	overflow:hidden;	display: inline-block;}
Copy after login

Force text (alphanumeric sometimes not wrapped) to wrap

	text-indent:2em;	word-break:break-all; 	word-wrap:break-word;
Copy after login


Related labels:
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