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)
The Duke of Edinburgh
Reading an article that mentioned the Duke of Edinburgh we looked at each other and wondered how that was. Surely he was dead. The husband ...
-
From www.nomorepencils.com Taking The Rough With The Smooth What does the phrase, taking the rough with the smooth co...
-
I blame the editors, I have for many years -- the ones who edit out our failings, our embarrassments, the faltering in the portrayal of our ...
-
I listen to arguments about global warming and climate change; about the effects or non-effects of human intervention and the tipping point...
No comments:
Post a Comment
Post a comment and start a conversation...