<?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: Use CSS display:table for Layout</title>
	<atom:link href="http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout</link>
	<description>A blog on web standards, accessibility, css, javascript, xslt, and more</description>
	<lastBuildDate>Thu, 09 Sep 2010 15:47:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13852</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Sat, 11 Apr 2009 04:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13852</guid>
		<description>Thanks Anoop,

Actually i was really trying very hard to find some table layout without using Table then, i come across some techniques

 &lt;ol id=&quot;main&quot;&gt;
    &lt;li id=&quot;main&quot;&gt;left block&lt;/li&gt;
    &lt;li id=&quot;main&quot;&gt;body block&lt;/li&gt;
    &lt;li id=&quot;main&quot;&gt;right block&lt;/li&gt;
  &lt;/ol&gt;

   &lt;style&gt;
    * {margin:0;padding:0;}
    #main{display:table-row; list-style-type:none }
  #left,#body,#right {display:table-cell;}
  &lt;/style&gt;
  Its really worked for me</description>
		<content:encoded><![CDATA[<p>Thanks Anoop,</p>
<p>Actually i was really trying very hard to find some table layout without using Table then, i come across some techniques</p>
<p> &lt;ol id=&quot;main&quot;&gt;<br />
    &lt;li id=&quot;main&quot;&gt;left block&lt;/li&gt;<br />
    &lt;li id=&quot;main&quot;&gt;body block&lt;/li&gt;<br />
    &lt;li id=&quot;main&quot;&gt;right block&lt;/li&gt;<br />
  &lt;/ol&gt;</p>
<p>   &lt;style&gt;<br />
    * {margin:0;padding:0;}<br />
    #main{display:table-row; list-style-type:none }<br />
  #left,#body,#right {display:table-cell;}<br />
  &lt;/style&gt;<br />
  Its really worked for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13851</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Sat, 11 Apr 2009 04:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13851</guid>
		<description>Thanks Anoop,

Actually i was really trying very hard to find some table layout without using Table then, i come across some techniques...


  left block
  body block
  right block



  * {margin:0;padding:0;}
  #main{display:table-row; list-style-type:none }
  #left,#body,#right {display:table-cell;}


Its really worked for me</description>
		<content:encoded><![CDATA[<p>Thanks Anoop,</p>
<p>Actually i was really trying very hard to find some table layout without using Table then, i come across some techniques&#8230;</p>
<p>  left block<br />
  body block<br />
  right block</p>
<p>  * {margin:0;padding:0;}<br />
  #main{display:table-row; list-style-type:none }<br />
  #left,#body,#right {display:table-cell;}</p>
<p>Its really worked for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13850</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Fri, 10 Apr 2009 23:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13850</guid>
		<description>@Sanjeev,

There isn&#039;t one exact fix for IE6, per se. It depends on your surrounding HTML. But for me, I have usually used CSS floats to get the layout I need, while others use absolute positioning. So for IE6, I&#039;d normally try one of the more established layout techniques that have been around for a while that cater for IE6, but target IE6 using conditional CSS comments if you can. Hope that helps.</description>
		<content:encoded><![CDATA[<p>@Sanjeev,</p>
<p>There isn&#8217;t one exact fix for IE6, per se. It depends on your surrounding HTML. But for me, I have usually used CSS floats to get the layout I need, while others use absolute positioning. So for IE6, I&#8217;d normally try one of the more established layout techniques that have been around for a while that cater for IE6, but target IE6 using conditional CSS comments if you can. Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13843</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Thu, 02 Apr 2009 09:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13843</guid>
		<description>Hi,

What is the exact fix for IE 6, I tried it in mozilla and i was really happy by seeing the output. Please can anyone provide the fix for IE

Sanjeev</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>What is the exact fix for IE 6, I tried it in mozilla and i was really happy by seeing the output. Please can anyone provide the fix for IE</p>
<p>Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13821</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Mon, 02 Mar 2009 18:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13821</guid>
		<description>@AaronSieb: You don&#039;t actually need the wrapper cells -- CSS 2.1 supports &quot;anonymous tables&quot; (which I think is similar to HTML). This means you can provide just the divs that act as the layout cells and it will generate anonymous table structure around the cell.

Providing those extra divs might be useful if you need to add hooks for additional CSS or JavaScript, for example. If not, then you can get away with something like this:

&lt;div class=&quot;primary-nav&quot;&gt;nav content&lt;/div&gt;
&lt;div class=&quot;secondary-nav&quot;&gt;secondary nav content&lt;/div&gt;
&lt;div class=&quot;content&quot;&gt;main content&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>@AaronSieb: You don&#8217;t actually need the wrapper cells &#8212; CSS 2.1 supports &#8220;anonymous tables&#8221; (which I think is similar to HTML). This means you can provide just the divs that act as the layout cells and it will generate anonymous table structure around the cell.</p>
<p>Providing those extra divs might be useful if you need to add hooks for additional CSS or JavaScript, for example. If not, then you can get away with something like this:</p>
<p>&lt;div class=&quot;primary-nav&quot;&gt;nav content&lt;/div&gt;<br />
&lt;div class=&quot;secondary-nav&quot;&gt;secondary nav content&lt;/div&gt;<br />
&lt;div class=&quot;content&quot;&gt;main content&lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AaronSieb</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13811</link>
		<dc:creator>AaronSieb</dc:creator>
		<pubDate>Wed, 25 Feb 2009 16:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13811</guid>
		<description>Aaand, it ate my markup.  Hopefully this shows up as somewhat readable.

    &lt;table id=&quot;content-body-wrapper&quot;&gt; 
        &lt;tr id=&quot;content-body&quot;&gt; 
            &lt;td id=&quot;primary-nav&quot;&gt; 
                &lt;!-- some navigation column here --&gt; 
            &lt;/td&gt; 
            &lt;td id=&quot;secondary-nav&quot;&gt; 
                &lt;!-- some additional column here --&gt; 
            &lt;/td&gt; 
            &lt;td id=&quot;content&quot;&gt; 
                &lt;!-- main content here --&gt; 
            &lt;/td&gt; 
        &lt;/tr&gt; 
    &lt;/table&gt;</description>
		<content:encoded><![CDATA[<p>Aaand, it ate my markup.  Hopefully this shows up as somewhat readable.</p>
<p>    &lt;table id=&#8221;content-body-wrapper&#8221;&gt;<br />
        &lt;tr id=&#8221;content-body&#8221;&gt;<br />
            &lt;td id=&#8221;primary-nav&#8221;&gt;<br />
                &lt;!&#8211; some navigation column here &#8211;&gt;<br />
            &lt;/td&gt;<br />
            &lt;td id=&#8221;secondary-nav&#8221;&gt;<br />
                &lt;!&#8211; some additional column here &#8211;&gt;<br />
            &lt;/td&gt;<br />
            &lt;td id=&#8221;content&#8221;&gt;<br />
                &lt;!&#8211; main content here &#8211;&gt;<br />
            &lt;/td&gt;<br />
        &lt;/tr&gt;<br />
    &lt;/table&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AaronSieb</title>
		<link>http://www.onenaught.com/posts/201/use-css-displaytable-for-layout/comment-page-1#comment-13810</link>
		<dc:creator>AaronSieb</dc:creator>
		<pubDate>Wed, 25 Feb 2009 16:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=201#comment-13810</guid>
		<description>I&#039;ve been playing with this technique as well, but there&#039;s something about it that bothers me...

If you take the main portion of your markup, and convert the DIVs into appropriate  tags, we end up with this structure:
     
         
             
                &lt;!-- some navigation column here --&gt; 
             
             
                &lt;!-- some additional column here --&gt; 
             
             
                &lt;!-- main content here --&gt; 
             
         
      

That&#039;s the same number of tags, with the same number of CSS hooks.  How is this any worse than the same set of DIVs?  Especially when you consider that THIS structure is supported by the most popular browsers on the &#039;net?

I just wish there was a way to access the display: table-cell behavior, without needing to nest it inside of display: table and display: table-row...  The extra markup overhead is enough to make me question CSS.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been playing with this technique as well, but there&#8217;s something about it that bothers me&#8230;</p>
<p>If you take the main portion of your markup, and convert the DIVs into appropriate  tags, we end up with this structure:</p>
<p>                <!-- some navigation column here --> </p>
<p>                <!-- some additional column here --> </p>
<p>                <!-- main content here --> </p>
<p>That&#8217;s the same number of tags, with the same number of CSS hooks.  How is this any worse than the same set of DIVs?  Especially when you consider that THIS structure is supported by the most popular browsers on the &#8216;net?</p>
<p>I just wish there was a way to access the display: table-cell behavior, without needing to nest it inside of display: table and display: table-row&#8230;  The extra markup overhead is enough to make me question CSS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
