skip to main content
Did you ever want to do some word breaks in your Documents but didn't know, how to do that in html? Well, I don't know how to do that automatically, but there is a nice softhypen, you might like.
What's the difference between nice layed out, justified text and a website?
The text usually has some wordbreaks in it to create a more stylish layout.
Too bad, there's no such thing as a automatic wordbreak in html. But theres a nice, ancient tag, that I rediscovered on Quirks Mode today.
Breaking words by yourself
Word knows another concept: The so called conditional, or soft space. That is, words only break, if the window or box around it wouldn't fit otherwise.
This is possible with HTML as well, there are two ways using it.
But the best it yet to come. Just found in the Paragraphs, Lines and Phrases section of the W3C Recommendation: the shy-tag. shy, like soft hyphen. It has the html-entity name ­ and can be referred to as ­ or ­ as well.
Ok, enough theory. Let's play!
|Comments - Make a comment|
|The comments are owned by the poster. We are not responsible for its content.|
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8485 views)
Re: Please Help! I must ...
created by steven83, 2011-08-22 (2 rpls, 3014 views)