Written by me@grafxflow
12 Oct, 2012
0
2,608
A wonderful CSS property is the word-wrap. For example let's say there is a website which has a dynamic RSS feed and its div container is not wide enough to show long urls. By default they will overlap the div or paragraph container... which doesn't look good! With word-wrap it forces the long url to break and wrap onto the next line.
This is an example of the CSS usage:
.large_url_container {
word-wrap: break-word;
}
And here is an example without the CSS word-wrap property...
http://www.websitewithlargeurl.com/url_category/url_sub_category/url_page
... and with the CSS word-wrap property added.
http://www.websitewithlargeurl.com/url_category/url_sub_category/url_page
25 Mar, 2010
02 Aug, 2015
30 Sep, 2019
Darth Maul and Micro-Organisms: Inside George Lucas's Cancelled Star Wars Sequel Trilogy
How to Automatically Convert DVD Subtitles to SRT on Mac
The $4 Billion Divorce: Inside the Awkward, Painful Sale of Lucasfilm to Disney
The Rift That Broke the Whip: Inside Lucas, Spielberg, and Harrison Ford's 'Furious Rows' Over Indiana Jones
Breaking the Endless Loop: Why Star Wars Needs an Origin Story
Founder, Grafxflow
I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!