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)
CARROT / LOX + DILL / POTATO
What would you think the ingredients are? Would you expect lox? CARROT LOX + DILL POTATO
-
as a safe, non-toxic means of killing bedbugs. So I looked up this material and found it is made up of the skeletons of diatoms and is ...
-
Would you have guessed there was anything like this number of wells - abandoned or otherwise - in the Gulf? from Yahoo News WASHI...
-
Highly recommend the rest of this gentleman's blog. And he has another with lots of photography information (I learned how to get t...
No comments:
Post a Comment
Post a comment and start a conversation...