<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Where to Avoid CSS Hyphenation</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 10 May 2013 11:50:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Stephen Greig</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1067750</link>
		<dc:creator>Stephen Greig</dc:creator>
		<pubDate>Fri, 04 Jan 2013 21:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1067750</guid>
		<description><![CDATA[With regards to auto-linked URLs, I know the actual link and copy &amp; paste-able content will be correct, but don&#039;t we consider what the user actually sees as an issue?

For example, if your URL was displayed as meyer-web.com, surely this isn&#039;t ideal and could even be seen as a major issue for some?

Might be a case for avoiding hyphens on links.]]></description>
		<content:encoded><![CDATA[<p>With regards to auto-linked URLs, I know the actual link and copy &amp; paste-able content will be correct, but don&#8217;t we consider what the user actually sees as an issue?</p>
<p>For example, if your URL was displayed as meyer-web.com, surely this isn&#8217;t ideal and could even be seen as a major issue for some?</p>
<p>Might be a case for avoiding hyphens on links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristian</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1011895</link>
		<dc:creator>Kristian</dc:creator>
		<pubDate>Thu, 20 Dec 2012 18:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1011895</guid>
		<description><![CDATA[Ricardo Zea beat me to it, but I agree, there shouldn&#039;t be any problems in hyphenating a quote of someone else, especially since you can at times make editorial edits to quotes to get the meaning accross (say substituting &quot;him&quot; with [John]). There is one exeption though: if what you&#039;re quoting has a fixed right margin (or left in a rtl setting), ie. you&#039;re quoting a poem, you can&#039;t introduce hyphenation.

I strongly disagree with Kevin Hamilton&#039;s suggestion of turning hyphenation off for large displays. It seems he&#039;s implying that hyphens are less readable when the line length is long, however the real problem is that the meassure (characters per line) is to high. Instead of adding a quick fix and removing the hyphens when the lines are too long, fix the actual problem instead and prevwnt the lines growing too long. Traditionally 50-70ish has been considered a good meassure, there&#039;s no reason the web shouldn&#039;t conform to the same.

When it comes to hyphenation and languages it is true that each language qould need their own dictionary/ruleset. Each language has different typographic and ortographic rules which, among others, define how and when words can be broken to a new line.]]></description>
		<content:encoded><![CDATA[<p>Ricardo Zea beat me to it, but I agree, there shouldn&#8217;t be any problems in hyphenating a quote of someone else, especially since you can at times make editorial edits to quotes to get the meaning accross (say substituting &#8220;him&#8221; with [John]). There is one exeption though: if what you&#8217;re quoting has a fixed right margin (or left in a rtl setting), ie. you&#8217;re quoting a poem, you can&#8217;t introduce hyphenation.</p>
<p>I strongly disagree with Kevin Hamilton&#8217;s suggestion of turning hyphenation off for large displays. It seems he&#8217;s implying that hyphens are less readable when the line length is long, however the real problem is that the meassure (characters per line) is to high. Instead of adding a quick fix and removing the hyphens when the lines are too long, fix the actual problem instead and prevwnt the lines growing too long. Traditionally 50-70ish has been considered a good meassure, there&#8217;s no reason the web shouldn&#8217;t conform to the same.</p>
<p>When it comes to hyphenation and languages it is true that each language qould need their own dictionary/ruleset. Each language has different typographic and ortographic rules which, among others, define how and when words can be broken to a new line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Zea</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1009383</link>
		<dc:creator>Ricardo Zea</dc:creator>
		<pubDate>Thu, 20 Dec 2012 05:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1009383</guid>
		<description><![CDATA[Regarding your question: &lt;em&gt;&quot; If you’re quoting someone, almost certainly something that someone wrote, is it advisable to hyphenate that text when they didn’t?&quot;&lt;/em&gt;, here&#039;s some insight you could find useful (or not).

Hyphenating is part of having &quot;editorial etiquette&quot; if you will.

The principle of using hyphenation is so that the text being read is legible in the container is being displayed in. Words &#039;break&#039; and that&#039;s part of their nature and hyphens are the physical evidence of that nature.

Hyphenating needs to happen whenever the words require it, regardless if the words are in someone&#039;s quote, or a product description, etc.

So, yes, hyphenating someone&#039;s quote should be editorially correct, but mostly, polite. 

Heck, even the author should thank you if you did a good job hyphenating his/her quote :)]]></description>
		<content:encoded><![CDATA[<p>Regarding your question: &lt;em&gt;&#8221; If you’re quoting someone, almost certainly something that someone wrote, is it advisable to hyphenate that text when they didn’t?&#8221;&lt;/em&gt;, here&#8217;s some insight you could find useful (or not).</p>
<p>Hyphenating is part of having &#8220;editorial etiquette&#8221; if you will.</p>
<p>The principle of using hyphenation is so that the text being read is legible in the container is being displayed in. Words &#8216;break&#8217; and that&#8217;s part of their nature and hyphens are the physical evidence of that nature.</p>
<p>Hyphenating needs to happen whenever the words require it, regardless if the words are in someone&#8217;s quote, or a product description, etc.</p>
<p>So, yes, hyphenating someone&#8217;s quote should be editorially correct, but mostly, polite. </p>
<p>Heck, even the author should thank you if you did a good job hyphenating his/her quote :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Divya</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1004798</link>
		<dc:creator>Divya</dc:creator>
		<pubDate>Wed, 19 Dec 2012 01:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1004798</guid>
		<description><![CDATA[Yeah did not think it was. but having &lt;code&gt;body {hyphens: auto;}&lt;/code&gt; suggest it as an opt-out. 

I would rather choose manually which elements to apply hyphenations on and make it smaller in scope for the dictionaries to operate on. I also think there is value in specifying universal opt-outs but it will be significantly smaller set of selectors]]></description>
		<content:encoded><![CDATA[<p>Yeah did not think it was. but having <code>body {hyphens: auto;}</code> suggest it as an opt-out. </p>
<p>I would rather choose manually which elements to apply hyphenations on and make it smaller in scope for the dictionaries to operate on. I also think there is value in specifying universal opt-outs but it will be significantly smaller set of selectors</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1003009</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Tue, 18 Dec 2012 16:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1003009</guid>
		<description><![CDATA[As long as &lt;code&gt;hyphens&lt;/code&gt; is an inherited property, I’m pretty sure there has to be opt-out, &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1001634&quot; rel=&quot;nofollow&quot;&gt;Divya&lt;/a&gt;.  Even if one wrote a selector to hyphenate only paragraphs and list items, there could be phrase element descendants that should be opted out.  For that matter, forms often contain paragraphs or are constructed from lists.  It’s certainly worthwhile to think about opting out form elements like labels and so forth.  That might be a best pratice.  I think of my post as a starting point, not the final word; perhaps I need to make that more clear.]]></description>
		<content:encoded><![CDATA[<p>As long as <code>hyphens</code> is an inherited property, I’m pretty sure there has to be opt-out, <a href="http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1001634" rel="nofollow">Divya</a>.  Even if one wrote a selector to hyphenate only paragraphs and list items, there could be phrase element descendants that should be opted out.  For that matter, forms often contain paragraphs or are constructed from lists.  It’s certainly worthwhile to think about opting out form elements like labels and so forth.  That might be a best pratice.  I think of my post as a starting point, not the final word; perhaps I need to make that more clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1002972</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Tue, 18 Dec 2012 15:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1002972</guid>
		<description><![CDATA[&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1000864&quot; rel=&quot;nofollow&quot;&gt;Phillippe&lt;/a&gt;, I kind of like the hyphenation in the textarea.  It’s an interesting effect.  It’s true that most people probably want to do as you suggest, though.  I think the concern with code hyphenation is that something like &lt;code&gt;repeating-linear-gradient&lt;/code&gt; could end up displayed as &lt;code&gt;re-peating-linear-gradient&lt;/code&gt; and thus be unnecessarily confusing.  And imagine the results if extra hyphens strayed into a UNIX command line example!  Sure, that would likely be no problem if the user selects-and-copies, as both of us pointed out, but if someone retypes it…yikes.]]></description>
		<content:encoded><![CDATA[<p><a href="http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1000864" rel="nofollow">Phillippe</a>, I kind of like the hyphenation in the textarea.  It’s an interesting effect.  It’s true that most people probably want to do as you suggest, though.  I think the concern with code hyphenation is that something like <code>repeating-linear-gradient</code> could end up displayed as <code>re-peating-linear-gradient</code> and thus be unnecessarily confusing.  And imagine the results if extra hyphens strayed into a UNIX command line example!  Sure, that would likely be no problem if the user selects-and-copies, as both of us pointed out, but if someone retypes it…yikes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Divya</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1001634</link>
		<dc:creator>Divya</dc:creator>
		<pubDate>Tue, 18 Dec 2012 09:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1001634</guid>
		<description><![CDATA[No, hyphens cannot be opt-out. It has to be opt-in. This philosophical approach does not take into account future elements - each with their own UI requirements. What about selects? What about checkbox labels? Should they all have hyphens? What if there is a new User Interface for Tabs? We cannot be always on our toes to find out which next newly introduced browser feature will break our carefully laid out design.

Hyphens should only be used when the developer is sure there is going to be content and nothing else. Typically that would be a paragraph element, list element or similar.]]></description>
		<content:encoded><![CDATA[<p>No, hyphens cannot be opt-out. It has to be opt-in. This philosophical approach does not take into account future elements &#8211; each with their own UI requirements. What about selects? What about checkbox labels? Should they all have hyphens? What if there is a new User Interface for Tabs? We cannot be always on our toes to find out which next newly introduced browser feature will break our carefully laid out design.</p>
<p>Hyphens should only be used when the developer is sure there is going to be content and nothing else. Typically that would be a paragraph element, list element or similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1000864</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Tue, 18 Dec 2012 05:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1000864</guid>
		<description><![CDATA[One thing to note is that hyphens don&#039;t exist in the DOM, and when the user copies something, the hyphens are not copied along (except if you manually insert soft-hyphens). In principle at least (and I&#039;ve never fully tested that…).

Now, I don&#039;t disagree that having e.g code blocks display words with hyphens when none exist might look silly (‘back-ground’, uh). Otoh, if the &lt;code&gt;code&lt;/code&gt; element is inline, as in this sentence, and the word contains a hyphen, it will split anyway (e.g. &lt;code&gt;linear-gradient&lt;/code&gt;) if it happens to be at the end of the line; hyphen being a line-break opportunity in most browsers.

BTW, Eric, you may want to disable hyphenation in form controls (&lt;code&gt;textarea, input[type=text]&lt;/code&gt;).]]></description>
		<content:encoded><![CDATA[<p>One thing to note is that hyphens don&#8217;t exist in the DOM, and when the user copies something, the hyphens are not copied along (except if you manually insert soft-hyphens). In principle at least (and I&#8217;ve never fully tested that…).</p>
<p>Now, I don&#8217;t disagree that having e.g code blocks display words with hyphens when none exist might look silly (‘back-ground’, uh). Otoh, if the <code>code</code> element is inline, as in this sentence, and the word contains a hyphen, it will split anyway (e.g. <code>linear-gradient</code>) if it happens to be at the end of the line; hyphen being a line-break opportunity in most browsers.</p>
<p>BTW, Eric, you may want to disable hyphenation in form controls (<code>textarea, input[type=text]</code>).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mead</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-1000593</link>
		<dc:creator>David Mead</dc:creator>
		<pubDate>Tue, 18 Dec 2012 03:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-1000593</guid>
		<description><![CDATA[Not to answer for Eric, but don&#039;t you think adding that really depends on the design Kevin?

Some sites don&#039;t have the content spread in one column across the page, so it may still require hyphenation within the multiple columns. I&#039;m thinking of a design like Pintrest here.

Just my two cents :-)]]></description>
		<content:encoded><![CDATA[<p>Not to answer for Eric, but don&#8217;t you think adding that really depends on the design Kevin?</p>
<p>Some sites don&#8217;t have the content spread in one column across the page, so it may still require hyphenation within the multiple columns. I&#8217;m thinking of a design like Pintrest here.</p>
<p>Just my two cents :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Hamilton</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-999891</link>
		<dc:creator>Kevin Hamilton</dc:creator>
		<pubDate>Mon, 17 Dec 2012 23:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-999891</guid>
		<description><![CDATA[Hi Eric - I&#039;ve got one more suggestion for you, although I would understand if you decided not to implement it...

&lt;code&gt;
@media (min-width: 1500px) {
  body { hyphens: none; }
}
&lt;/code&gt;

I feel that at certain line lengths, the tracking time for my eye to get from the end of the line back to the beginning of the next to complete a word feels disruptive.  Of course, this might just be because I&#039;m not used to hyphens on the web or because I am thinking about it too consciously.

But if you try it and you agree, then I think on your site a min-width somewhere between 1200px to 1500px seems like a reasonable cutoff to disable hyphenation.]]></description>
		<content:encoded><![CDATA[<p>Hi Eric &#8211; I&#8217;ve got one more suggestion for you, although I would understand if you decided not to implement it&#8230;</p>
<p><code><br />
@media (min-width: 1500px) {<br />
  body { hyphens: none; }<br />
}<br />
</code></p>
<p>I feel that at certain line lengths, the tracking time for my eye to get from the end of the line back to the beginning of the next to complete a word feels disruptive.  Of course, this might just be because I&#8217;m not used to hyphens on the web or because I am thinking about it too consciously.</p>
<p>But if you try it and you agree, then I think on your site a min-width somewhere between 1200px to 1500px seems like a reasonable cutoff to disable hyphenation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mead</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-999457</link>
		<dc:creator>David Mead</dc:creator>
		<pubDate>Mon, 17 Dec 2012 20:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-999457</guid>
		<description><![CDATA[Maybe I&#039;ll have to do a little more digging. Hopefully the &lt;code&gt;word-break&lt;/code&gt; will look to the &lt;code&gt;hyphens&lt;/code&gt; and display accordingly.

But if I&#039;ve learned anything from coding over the years, that won&#039;t be the case ;-)]]></description>
		<content:encoded><![CDATA[<p>Maybe I&#8217;ll have to do a little more digging. Hopefully the <code>word-break</code> will look to the <code>hyphens</code> and display accordingly.</p>
<p>But if I&#8217;ve learned anything from coding over the years, that won&#8217;t be the case ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-999404</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Mon, 17 Dec 2012 20:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-999404</guid>
		<description><![CDATA[That I don’t know, David.  I know that hyphenation dictionaries are (in theory) language-dependent, but I’m not sure how they interact with other properties such as those.  It may well vary by browser.]]></description>
		<content:encoded><![CDATA[<p>That I don’t know, David.  I know that hyphenation dictionaries are (in theory) language-dependent, but I’m not sure how they interact with other properties such as those.  It may well vary by browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mead</title>
		<link>http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation/#comment-999386</link>
		<dc:creator>David Mead</dc:creator>
		<pubDate>Mon, 17 Dec 2012 20:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=2123#comment-999386</guid>
		<description><![CDATA[Thanks for the update Eric.

I assume this works hand-in-hand with &lt;code&gt;word-break&lt;/code&gt;, or does it work independently?

So, if I have
&lt;code&gt;
-ms-word-break: break-all;
-epub-word-break: break-all;
word-break: break-all;
word-break: break-word;  /*old webkit */
&lt;/code&gt;
in my CSS, does &lt;code&gt;hyphens:auto&lt;/code&gt; replace it, or add to it?]]></description>
		<content:encoded><![CDATA[<p>Thanks for the update Eric.</p>
<p>I assume this works hand-in-hand with <code>word-break</code>, or does it work independently?</p>
<p>So, if I have<br />
<code><br />
-ms-word-break: break-all;<br />
-epub-word-break: break-all;<br />
word-break: break-all;<br />
word-break: break-word;  /*old webkit */<br />
</code><br />
in my CSS, does <code>hyphens:auto</code> replace it, or add to it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->