* {
-webkit-hyphens: none !important;
-ms-hyphens: none !important;
-o-hyphens: none !important;
hyphens: none !important;
}
This blog is a knowledge dump of all the technical information floating around in my head. It deals with anything involving software, hardware, gadgets, and technology.
Jan 10, 2018
Removing hyphenated text and word-wrapping via CSS
A simple bit of code to use if you do not like the way your browser hyphenates or word wraps your text. (Note the * selector will apply this CSS to ALL elements on the page,
and the !important flag will overwrite any later changes.)
Labels:
css
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for contributing!! Try to keep on topic and please avoid flame wars!!