<?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: Cross-Browser Inline-Block</title>
	<atom:link href="http://ajaxian.com/archives/cross-browser-inline-block/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/cross-browser-inline-block</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Sun, 14 Mar 2010 06:53:59 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: i8ramin</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271719</link>
		<dc:creator>i8ramin</dc:creator>
		<pubDate>Mon, 02 Mar 2009 01:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271719</guid>
		<description>If you know that you will always display 4 items per row, you could simply wrap a DIV around them (the 4 items per row). This will achieve the same thing w/o doing all the hacks. You just float the items and clear the outer DIVs. However, if you have a liquid layout and you can&#039;t guarantee the number of cells per row, then this is a pretty nice work around. Then again, if you are comparing this to a TABLE layout approach, you need to know ahead of time how many cells you want to display per row. In which case, I choose the DIV wrapping approach over this.</description>
		<content:encoded><![CDATA[<p>If you know that you will always display 4 items per row, you could simply wrap a DIV around them (the 4 items per row). This will achieve the same thing w/o doing all the hacks. You just float the items and clear the outer DIVs. However, if you have a liquid layout and you can&#8217;t guarantee the number of cells per row, then this is a pretty nice work around. Then again, if you are comparing this to a TABLE layout approach, you need to know ahead of time how many cells you want to display per row. In which case, I choose the DIV wrapping approach over this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LeifOO</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271693</link>
		<dc:creator>LeifOO</dc:creator>
		<pubDate>Sat, 28 Feb 2009 12:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271693</guid>
		<description>Hedger Wang also has a couple of nice posts about this topic:
http://blog.hedgerwow.com/2007/11/14/item-list-grid-real-world-practice-with-displayinline-block-across-browsers/
http://www.hedgerwow.com/360/dhtml/css-layout-gridview.html</description>
		<content:encoded><![CDATA[<p>Hedger Wang also has a couple of nice posts about this topic:<br />
<a href="http://blog.hedgerwow.com/2007/11/14/item-list-grid-real-world-practice-with-displayinline-block-across-browsers/" rel="nofollow">http://blog.hedgerwow.com/2007/11/14/item-list-grid-real-world-practice-with-displayinline-block-across-browsers/</a><br />
<a href="http://www.hedgerwow.com/360/dhtml/css-layout-gridview.html" rel="nofollow">http://www.hedgerwow.com/360/dhtml/css-layout-gridview.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edeverett</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271569</link>
		<dc:creator>edeverett</dc:creator>
		<pubDate>Tue, 24 Feb 2009 15:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271569</guid>
		<description>Yeah, it&#039;s a good technique. I left a comment with a similar demo when the CSS vs Tables nonsense was going on again last year : http://ajaxian.com/archives/css-and-tables-the-war-continues#comment-269059

Not enough people know about this and only think about floats. But for l flexible grid layout without tables this can often be the solution.</description>
		<content:encoded><![CDATA[<p>Yeah, it&#8217;s a good technique. I left a comment with a similar demo when the CSS vs Tables nonsense was going on again last year : <a href="http://ajaxian.com/archives/css-and-tables-the-war-continues#comment-269059" rel="nofollow">http://ajaxian.com/archives/css-and-tables-the-war-continues#comment-269059</a></p>
<p>Not enough people know about this and only think about floats. But for l flexible grid layout without tables this can often be the solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271552</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Tue, 24 Feb 2009 09:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271552</guid>
		<description>@starkraving: IE6 treats the following roughly the same:

&lt;code&gt;InlineElement {
    display: inline-block;
}&lt;/code&gt;
and
&lt;code&gt;BlockElement {
    display: inline;
    zoom: 1;
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@starkraving: IE6 treats the following roughly the same:</p>
<p><code>InlineElement {<br />
    display: inline-block;<br />
}</code><br />
and<br />
<code>BlockElement {<br />
    display: inline;<br />
    zoom: 1;<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: starkraving</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271550</link>
		<dc:creator>starkraving</dc:creator>
		<pubDate>Tue, 24 Feb 2009 06:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271550</guid>
		<description>inline-block is better than float:left because you don&#039;t have to clear it afterwards. I wish I knew about this earlier than the last few months but it&#039;s really cool. It seems to be much more supported cross-browser (read IE6) when used on elements that are normally inline, like links or spans etc</description>
		<content:encoded><![CDATA[<p>inline-block is better than float:left because you don&#8217;t have to clear it afterwards. I wish I knew about this earlier than the last few months but it&#8217;s really cool. It seems to be much more supported cross-browser (read IE6) when used on elements that are normally inline, like links or spans etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tj111</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271545</link>
		<dc:creator>tj111</dc:creator>
		<pubDate>Mon, 23 Feb 2009 17:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271545</guid>
		<description>@ExtAnimal: did you read the article?  It explains how if an element has slightly more stuff in it and expands vertically, the next line of elements will float against that larger element.</description>
		<content:encoded><![CDATA[<p>@ExtAnimal: did you read the article?  It explains how if an element has slightly more stuff in it and expands vertically, the next line of elements will float against that larger element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ExtAnimal</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271538</link>
		<dc:creator>ExtAnimal</dc:creator>
		<pubDate>Mon, 23 Feb 2009 08:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271538</guid>
		<description>Mmm. But if all you have in that container is a set of inline block elements, then what&#039;s the difference between that and floating them all left?</description>
		<content:encoded><![CDATA[<p>Mmm. But if all you have in that container is a set of inline block elements, then what&#8217;s the difference between that and floating them all left?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unscriptable</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271537</link>
		<dc:creator>unscriptable</dc:creator>
		<pubDate>Sun, 22 Feb 2009 22:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271537</guid>
		<description>Darn @phiggins!  You beat me to it!  :-)
@GreLi: use display:-moz-inline-boxinstead of display:-moz-inline-stack to shrink-wrap in FF2.</description>
		<content:encoded><![CDATA[<p>Darn @phiggins!  You beat me to it!  :-)<br />
@GreLi: use display:-moz-inline-boxinstead of display:-moz-inline-stack to shrink-wrap in FF2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GreLI</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271536</link>
		<dc:creator>GreLI</dc:creator>
		<pubDate>Sun, 22 Feb 2009 17:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271536</guid>
		<description>Nice, but works only because it have fixed width and height, and those inline-blocks aren&#039;t links. When you want shrinked-fit width in Firefox 2 (especially with links) you are in trouble.</description>
		<content:encoded><![CDATA[<p>Nice, but works only because it have fixed width and height, and those inline-blocks aren&#8217;t links. When you want shrinked-fit width in Firefox 2 (especially with links) you are in trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phiggins</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271532</link>
		<dc:creator>phiggins</dc:creator>
		<pubDate>Sun, 22 Feb 2009 13:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271532</guid>
		<description>Looks just like Dijit&#039;s .dijitInline class:

http://bugs.dojotoolkit.org/browser/dijit/trunk/themes/dijit.css#L25</description>
		<content:encoded><![CDATA[<p>Looks just like Dijit&#8217;s .dijitInline class:</p>
<p><a href="http://bugs.dojotoolkit.org/browser/dijit/trunk/themes/dijit.css#L25" rel="nofollow">http://bugs.dojotoolkit.org/browser/dijit/trunk/themes/dijit.css#L25</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan1</title>
		<link>http://ajaxian.com/archives/cross-browser-inline-block/comment-page-1#comment-271531</link>
		<dc:creator>Jordan1</dc:creator>
		<pubDate>Sun, 22 Feb 2009 13:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=6061#comment-271531</guid>
		<description>More people should learn this instead of using floats.</description>
		<content:encoded><![CDATA[<p>More people should learn this instead of using floats.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
