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...
-
Italian: piazza Area libera, limitata in tutto o in parte da costruzioni, con varia funzione urbanistica, all'incrocio di più strade o l...
-
I listen to arguments about global warming and climate change; about the effects or non-effects of human intervention and the tipping point...
-
I wonder what 'hardened' means? Does it mean encasing the electronic switchgear in some pulse-resistant material to prevent th...
No comments:
Post a Comment
Post a comment and start a conversation...