Soft hyphens - sounds so nice.from www.alistapart.com
The Look That Says Book
by Richard Fink
The vast majority of books and magazines are typeset using hyphenation and justification (written as H&J from here on in). In print, it’s everywhere: All lines of text except the last lines of paragraphs are stretched out to the same length. Flush left and flush right. Hyphens are used to break words at the end of lines to help prevent gaps in word spacing. Like this:
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness. That to secure these rights, Governments are instituted among Men, deriving their just powers…
Using hyphenation and justification today
When it comes to new browser features, Flash-y effects get the glory and so it’s no surprise that support for a special unicode font character called the soft hyphen would go largely unnoticed. But the soft hyphen is the key to good-looking hyphenation and justification. And over the years it’s gained support in every A-grade browser: IE6+, Opera 7.1+, Safari 2+, Firefox 3+, and Chrome. This, combined with a little JavaScript jiggery, makes H&J a viable design technique today.
The soft hyphen
What’s a soft hyphen? The HTML spec says:
Read more at www.alistapart.com
Monday, September 20, 2010
Justified Text - Coming to a web near you
Subscribe to:
Post Comments (Atom)
Rubbish
"If an opinion contrary to your own makes you angry, that is a sign that you are subconsciously aware of having no good reason for thi...
-
From www.nomorepencils.com Taking The Rough With The Smooth What does the phrase, taking the rough with the smooth co...
-
When I write in my blog I am in my space. When I talk in, for example, Facebook, I am in that space. I have said for years that the next big...
-
At a party, a doctor is commiserating with a lawyer. He says that wherever he goes people ask him for medical advice. The lawyer agrees and ...
No comments:
Post a Comment
Post a comment and start a conversation...