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.
Motivation | |
---|---|
QuestionWhat's the difference between nice layed out, justified text and a website? AnswerThe 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.
|
Soft Hypen | |
---|---|
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. |
AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki
Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread