<?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: Word-Spacing and Inline-Block Incompatibility in Webkit Browsers</title>
	<atom:link href="http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/</link>
	<description>One nut's look at the world of web design</description>
	<lastBuildDate>Thu, 29 Jul 2010 13:29:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: supper</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-31969</link>
		<dc:creator>supper</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-31969</guid>
		<description>The word-spacing property didn&#039;t work at all for me, but the problem certainly was white-space handling. Anyway I managed to make my divs stick neatly into each other with this little trick:

font-size: 0pt;
letter-spacing: -1px;

Works fine in Firefox 3.6.4, Chrome 4.1 and Opera 10.53!</description>
		<content:encoded><![CDATA[<p>The word-spacing property didn&#8217;t work at all for me, but the problem certainly was white-space handling. Anyway I managed to make my divs stick neatly into each other with this little trick:</p>
<p>font-size: 0pt;<br />
letter-spacing: -1px;</p>
<p>Works fine in Firefox 3.6.4, Chrome 4.1 and Opera 10.53!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biziclop</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-31471</link>
		<dc:creator>biziclop</dc:creator>
		<pubDate>Thu, 18 Feb 2010 21:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-31471</guid>
		<description>Instead of applying word-spacing on the wrapper element, you can give margin-right:-0.4em to the list items. Unfortunately the size of the space character is very font-dependent … maybe there is some insane :before / :after trickery to solve this :)</description>
		<content:encoded><![CDATA[<p>Instead of applying word-spacing on the wrapper element, you can give margin-right:-0.4em to the list items. Unfortunately the size of the space character is very font-dependent … maybe there is some insane :before / :after trickery to solve this <img src='http://www.cssquirrel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djsnick</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-27978</link>
		<dc:creator>djsnick</dc:creator>
		<pubDate>Fri, 09 Oct 2009 21:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-27978</guid>
		<description>django has a kind of solution for this:
template tag &#039;spaceless&#039;
http://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless</description>
		<content:encoded><![CDATA[<p>django has a kind of solution for this:<br />
template tag &#8217;spaceless&#8217;<br />
<a href="http://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless" rel="nofollow">http://docs.djangoproject.com/en/dev/ref/templates/builtins/#spaceless</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djsnick</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-26991</link>
		<dc:creator>djsnick</dc:creator>
		<pubDate>Tue, 08 Sep 2009 15:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-26991</guid>
		<description>@jay taylor: i like the idea of specific css for this; how about &quot; white-space: none; &quot; ?

thanks for this posting. i&#039;ve had the same problem, and haven&#039;t found a nice solution. what i ended up doing is commenting out, in html, the white space between the end of a div and the beginning of the next div.</description>
		<content:encoded><![CDATA[<p>@jay taylor: i like the idea of specific css for this; how about &#8221; white-space: none; &#8221; ?</p>
<p>thanks for this posting. i&#8217;ve had the same problem, and haven&#8217;t found a nice solution. what i ended up doing is commenting out, in html, the white space between the end of a div and the beginning of the next div.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Taylor</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-26795</link>
		<dc:creator>Jay Taylor</dc:creator>
		<pubDate>Fri, 21 Aug 2009 06:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-26795</guid>
		<description>I agree, it shouldn&#039;t see a space outside of tags. Would be good to have browsers assume there&#039;s no space unless specified in css. Something like, p {display: white-space;}.

Maybe some javascript could move elements next to each other. Or maybe have php includes for certain elements. Just thoughts off the top of my head so there&#039;s probably plenty of issues regarding these methods. It&#039;s like &#039;vertical align&#039;, something that sounds so simple can be such a nuisance to implement.</description>
		<content:encoded><![CDATA[<p>I agree, it shouldn&#8217;t see a space outside of tags. Would be good to have browsers assume there&#8217;s no space unless specified in css. Something like, p {display: white-space;}.</p>
<p>Maybe some javascript could move elements next to each other. Or maybe have php includes for certain elements. Just thoughts off the top of my head so there&#8217;s probably plenty of issues regarding these methods. It&#8217;s like &#8216;vertical align&#8217;, something that sounds so simple can be such a nuisance to implement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Weems</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-26792</link>
		<dc:creator>Kyle Weems</dc:creator>
		<pubDate>Thu, 20 Aug 2009 22:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-26792</guid>
		<description>Jay,

That does in fact work. The problem with this technique is attempting to rely upon a CMS/Framework/Client to remove those spaces when you&#039;re not personally able to hand-tool the code on every page. 

Also, from a personal standpoint, I shouldn&#039;t have to eliminate white space manually when CSS exists for that purpose.

But thank you for providing this solution!</description>
		<content:encoded><![CDATA[<p>Jay,</p>
<p>That does in fact work. The problem with this technique is attempting to rely upon a CMS/Framework/Client to remove those spaces when you&#8217;re not personally able to hand-tool the code on every page. </p>
<p>Also, from a personal standpoint, I shouldn&#8217;t have to eliminate white space manually when CSS exists for that purpose.</p>
<p>But thank you for providing this solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Taylor</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-26789</link>
		<dc:creator>Jay Taylor</dc:creator>
		<pubDate>Thu, 20 Aug 2009 21:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-26789</guid>
		<description>example should be (replace brackets with html tag arrows)

(li class...)(/li)(li
class...)(/li)(li
etc
etc</description>
		<content:encoded><![CDATA[<p>example should be (replace brackets with html tag arrows)</p>
<p>(li class&#8230;)(/li)(li<br />
class&#8230;)(/li)(li<br />
etc<br />
etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Taylor</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-26788</link>
		<dc:creator>Jay Taylor</dc:creator>
		<pubDate>Thu, 20 Aug 2009 21:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-26788</guid>
		<description>hi guys, just come to this page cause I had the same problem. inline-block with gaps blah blah blah.
I was thinking that the gap is like a space (would explain the &#039;-word spacing&#039; thing working in some browsers). What I did was to start the li straight after the previous closing li, essentially eliminating the 1 space you get within HTML when there&#039;s gaps. So far it&#039;s worked in both FF3 and IE8, can someone try it out in others to see what happens. Fingers crossed this works so life can become that little bit easier.

e.g.

&lt;li class..... &lt;li
class.....&lt;li
class....
</description>
		<content:encoded><![CDATA[<p>hi guys, just come to this page cause I had the same problem. inline-block with gaps blah blah blah.<br />
I was thinking that the gap is like a space (would explain the &#8216;-word spacing&#8217; thing working in some browsers). What I did was to start the li straight after the previous closing li, essentially eliminating the 1 space you get within HTML when there&#8217;s gaps. So far it&#8217;s worked in both FF3 and IE8, can someone try it out in others to see what happens. Fingers crossed this works so life can become that little bit easier.</p>
<p>e.g.</p>
<p>&lt;li class&#8230;.. &lt;li<br />
class&#8230;..&lt;li<br />
class&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Weems</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-25753</link>
		<dc:creator>Kyle Weems</dc:creator>
		<pubDate>Fri, 19 Jun 2009 14:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-25753</guid>
		<description>@Pavel - I was considering the difficulty of re-inheriting the font-size with the font-size: 0 trick. So you use a letter-spacing/word-spacing hybrid approach? I&#039;ll have to test that one out! (I agree that those style-types are far easier to reset since they&#039;re rarely modified significantly).</description>
		<content:encoded><![CDATA[<p>@Pavel &#8211; I was considering the difficulty of re-inheriting the font-size with the font-size: 0 trick. So you use a letter-spacing/word-spacing hybrid approach? I&#8217;ll have to test that one out! (I agree that those style-types are far easier to reset since they&#8217;re rarely modified significantly).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Linhart</title>
		<link>http://www.cssquirrel.com/2009/04/09/word-spacing-and-inline-block-incompatibility-in-webkit-browsers/comment-page-1/#comment-25736</link>
		<dc:creator>Pavel Linhart</dc:creator>
		<pubDate>Fri, 19 Jun 2009 07:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=223#comment-25736</guid>
		<description>I had the same problem when using display: block for an unordered list:

Setting letter-spacing to -1000px on the ul worked for IE6/IE7/IE8, FF2/FF3, Chrome, but not Opera 10 beta (possibly too in the stable branch). 
Setting word-spacing to -1000px works in Opera, but not webkit, so by combining these two approaches and setting them to &quot;normal&quot; on the li again worked for me for all browsers I tested it on.

While font-size would do the trick as well I think, it&#039;s sometimes a bad thing to do - when you are depending on inheriting the font-size from the parent element(s). The same could be said about letter and word spacing, but how often do we change that? :)</description>
		<content:encoded><![CDATA[<p>I had the same problem when using display: block for an unordered list:</p>
<p>Setting letter-spacing to -1000px on the ul worked for IE6/IE7/IE8, FF2/FF3, Chrome, but not Opera 10 beta (possibly too in the stable branch).<br />
Setting word-spacing to -1000px works in Opera, but not webkit, so by combining these two approaches and setting them to &#8220;normal&#8221; on the li again worked for me for all browsers I tested it on.</p>
<p>While font-size would do the trick as well I think, it&#8217;s sometimes a bad thing to do &#8211; when you are depending on inheriting the font-size from the parent element(s). The same could be said about letter and word spacing, but how often do we change that? <img src='http://www.cssquirrel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
