<?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: Tabular Weirdness</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/</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>Tue, 18 Jun 2013 15:30:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Ken</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-185624</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Sun, 24 Jun 2007 14:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-185624</guid>
		<description><![CDATA[I have been working to resolve three different table rendering issues with Opera (see &lt;a href=&quot;http://my.opera.com/community/forums/topic.dml?id=152860&quot; rel=&quot;nofollow&quot;&gt;this forum thread&lt;/a&gt;). These issues include the CAPTION madness described above (my name links to the page containing the table causing the problem).

I would like to add an update to the post above in regards to whether the CAPTION is supposed to be subservient the TABLE box or outside the table box. &lt;a href=&quot;http://www.w3.org/TR/CSS21/tables.html#q5&quot; rel=&quot;nofollow&quot;&gt;Section 17.4 of CSS 2.1&lt;/a&gt; has been apparently changed and now makes the CAPTION box subservient to the TABLE box. This means that some time between when the post above was written in Jan. 2005 and my finding this post in June 2007 somebody reversed the rules of how the CAPTION box is supposed to behave.  Nothing like throwing fuel on the confusion.

Personally, I think the original behavior makes more sense given the explanation above.  However, I just wish that whatever the correct behavior is that all browsers would handle this in the same way.]]></description>
		<content:encoded><![CDATA[<p>I have been working to resolve three different table rendering issues with Opera (see <a href="http://my.opera.com/community/forums/topic.dml?id=152860" rel="nofollow">this forum thread</a>). These issues include the CAPTION madness described above (my name links to the page containing the table causing the problem).</p>
<p>I would like to add an update to the post above in regards to whether the CAPTION is supposed to be subservient the TABLE box or outside the table box. <a href="http://www.w3.org/TR/CSS21/tables.html#q5" rel="nofollow">Section 17.4 of CSS 2.1</a> has been apparently changed and now makes the CAPTION box subservient to the TABLE box. This means that some time between when the post above was written in Jan. 2005 and my finding this post in June 2007 somebody reversed the rules of how the CAPTION box is supposed to behave.  Nothing like throwing fuel on the confusion.</p>
<p>Personally, I think the original behavior makes more sense given the explanation above.  However, I just wish that whatever the correct behavior is that all browsers would handle this in the same way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Top 15 CSS Tables Data : Ultimate Web Developer Lists : eConsultant</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-38668</link>
		<dc:creator>Top 15 CSS Tables Data : Ultimate Web Developer Lists : eConsultant</dc:creator>
		<pubDate>Wed, 05 Jul 2006 19:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-38668</guid>
		<description><![CDATA[[...] Tabular Weirdness : by Eric Meyer [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Tabular Weirdness : by Eric Meyer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stuart</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-7526</link>
		<dc:creator>stuart</dc:creator>
		<pubDate>Tue, 25 Oct 2005 08:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-7526</guid>
		<description><![CDATA[the only way i have been able to solve the problem is to remove the margins on the table and play around with the positioning of the table on the page.  This fix keeps ie happy and will work in firefox.]]></description>
		<content:encoded><![CDATA[<p>the only way i have been able to solve the problem is to remove the margins on the table and play around with the positioning of the table on the page.  This fix keeps ie happy and will work in firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Pringle</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4832</link>
		<dc:creator>Ron Pringle</dc:creator>
		<pubDate>Thu, 27 Jan 2005 22:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4832</guid>
		<description><![CDATA[Interesting to come across this as I&#039;ve been working out problems in my own data tables and decided to document how the captions are treated by various browsers. I have a &lt;a href=&quot;http://www.aurora-il.org/testsite/table_test.htm&quot;&gt;test case&lt;/a&gt; page up and would appreciate contributions by others.]]></description>
		<content:encoded><![CDATA[<p>Interesting to come across this as I&#8217;ve been working out problems in my own data tables and decided to document how the captions are treated by various browsers. I have a <a href="http://www.aurora-il.org/testsite/table_test.htm">test case</a> page up and would appreciate contributions by others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer Grucza</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4717</link>
		<dc:creator>Jennifer Grucza</dc:creator>
		<pubDate>Thu, 20 Jan 2005 19:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4717</guid>
		<description><![CDATA[I &lt;a href=&quot;http://jennifergrucza.com/blog/archives/2004/12/06/ie-ignores-margin-on-table-captions&quot;&gt;ran into this caption problem&lt;/a&gt; as well.  I think I got around it by not using a margin on the table after all, putting it on the element before the table, instead.

Another thing was that I was able to set the width of the caption to smaller than the table in Firefox (to make the caption look kind of like a tab that only goes partway across), but IE ignores it and makes it full-width.  I figured it didn&#039;t look bad enough to try to find a fix.]]></description>
		<content:encoded><![CDATA[<p>I <a href="http://jennifergrucza.com/blog/archives/2004/12/06/ie-ignores-margin-on-table-captions">ran into this caption problem</a> as well.  I think I got around it by not using a margin on the table after all, putting it on the element before the table, instead.</p>
<p>Another thing was that I was able to set the width of the caption to smaller than the table in Firefox (to make the caption look kind of like a tab that only goes partway across), but IE ignores it and makes it full-width.  I figured it didn&#8217;t look bad enough to try to find a fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jules</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4525</link>
		<dc:creator>Jules</dc:creator>
		<pubDate>Thu, 13 Jan 2005 02:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4525</guid>
		<description><![CDATA[The specifications allow captions to be wider than tables which does seem strange when there is a width specified for the table and the caption tag is nested within the table tags &#151; you would think that the caption would be restricted by the width of the table. However, the caption alignment (using either HTML or CSS methods) &lt;strong&gt;should&lt;/strong&gt; place the caption to the left or right of the table (kinda like floating to the left or right). Given this, then caption is not bound by the width of the table.

Currently, if I remember correctly, these caption alignments are not properly rendered by any current browser.]]></description>
		<content:encoded><![CDATA[<p>The specifications allow captions to be wider than tables which does seem strange when there is a width specified for the table and the caption tag is nested within the table tags &#0151; you would think that the caption would be restricted by the width of the table. However, the caption alignment (using either HTML or CSS methods) <strong>should</strong> place the caption to the left or right of the table (kinda like floating to the left or right). Given this, then caption is not bound by the width of the table.</p>
<p>Currently, if I remember correctly, these caption alignments are not properly rendered by any current browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4514</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 12 Jan 2005 22:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4514</guid>
		<description><![CDATA[Ran into the same problem designing tables to return tabular data in PHP. Got so frustrated with the unintuitive nature of the tag (aligning it LEFT or RIGHT of the table???) that we scrapped it in place of a heading-level tag, h3 I believe.]]></description>
		<content:encoded><![CDATA[<p>Ran into the same problem designing tables to return tabular data in PHP. Got so frustrated with the unintuitive nature of the tag (aligning it LEFT or RIGHT of the table???) that we scrapped it in place of a heading-level tag, h3 I believe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Ametjan</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4512</link>
		<dc:creator>Steve Ametjan</dc:creator>
		<pubDate>Wed, 12 Jan 2005 21:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4512</guid>
		<description><![CDATA[I was recently working on a design for the company I work for, and ran into the same problem with the data tables I was using in IE. I think the reason that IE renders the borders as a light gray is because that&#039;s the default color for a table border... or at least for the light-shadow side of the border, and because you&#039;re limiting the border down to just 1px, it can only display the light-shadow side. Just a theory though...]]></description>
		<content:encoded><![CDATA[<p>I was recently working on a design for the company I work for, and ran into the same problem with the data tables I was using in IE. I think the reason that IE renders the borders as a light gray is because that&#8217;s the default color for a table border&#8230; or at least for the light-shadow side of the border, and because you&#8217;re limiting the border down to just 1px, it can only display the light-shadow side. Just a theory though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Rice</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4485</link>
		<dc:creator>Adam Rice</dc:creator>
		<pubDate>Wed, 12 Jan 2005 14:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4485</guid>
		<description><![CDATA[I can see how, from a markup-centric view of documents, this would seem strange and annoying. However, if you look at the way table captions (and image captions) are used in the hoary old world of print, you&#039;ll see this is just enshrining existing usage.

If you look at an article from a technical jounal (and I have one on my desk right now that illustrates this), you&#039;ll see that tables are no wider than necessary for their tabular contents, but captions are up to the width of the column. And, dare I say, it would look odd to force a lengthy caption to wrap at the width of a narrow table]]></description>
		<content:encoded><![CDATA[<p>I can see how, from a markup-centric view of documents, this would seem strange and annoying. However, if you look at the way table captions (and image captions) are used in the hoary old world of print, you&#8217;ll see this is just enshrining existing usage.</p>
<p>If you look at an article from a technical jounal (and I have one on my desk right now that illustrates this), you&#8217;ll see that tables are no wider than necessary for their tabular contents, but captions are up to the width of the column. And, dare I say, it would look odd to force a lengthy caption to wrap at the width of a narrow table</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Snook</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4484</link>
		<dc:creator>Jonathan Snook</dc:creator>
		<pubDate>Wed, 12 Jan 2005 14:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4484</guid>
		<description><![CDATA[For the grey table border, I suspect IE does it that way because that&#039;s the way it&#039;s always done it. It&#039;s not according to the HTML4 spec, mind you, but it is consistent. I&#039;ve never noticed it because I&#039;ve always specified a color when specifying borders. Probably for that reason.]]></description>
		<content:encoded><![CDATA[<p>For the grey table border, I suspect IE does it that way because that&#8217;s the way it&#8217;s always done it. It&#8217;s not according to the HTML4 spec, mind you, but it is consistent. I&#8217;ve never noticed it because I&#8217;ve always specified a color when specifying borders. Probably for that reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hester</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4483</link>
		<dc:creator>Chris Hester</dc:creator>
		<pubDate>Wed, 12 Jan 2005 13:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4483</guid>
		<description><![CDATA[What I find slightly annoying is that if the caption contains text that is wider than the table, the text spills out. The table does not get widened to match. Worse, nor does any border on the caption, leaving a mess. (At least in Opera 7.54u1 - I haven&#039;t checked other browsers.)

You can see the effect on this page I made to test IE6 and the Zoom filter (open it in Opera):

&lt;a href=&quot;http://www.designdetector.com/tips/zoomtest.html&quot;&gt;Zoom Test&lt;/a&gt;

Perhaps this is normal behaviour, but doesn&#039;t make captions very useful. I&#039;d have to put breaks in the text to make it match the table width!]]></description>
		<content:encoded><![CDATA[<p>What I find slightly annoying is that if the caption contains text that is wider than the table, the text spills out. The table does not get widened to match. Worse, nor does any border on the caption, leaving a mess. (At least in Opera 7.54u1 &#8211; I haven&#8217;t checked other browsers.)</p>
<p>You can see the effect on this page I made to test IE6 and the Zoom filter (open it in Opera):</p>
<p><a href="http://www.designdetector.com/tips/zoomtest.html">Zoom Test</a></p>
<p>Perhaps this is normal behaviour, but doesn&#8217;t make captions very useful. I&#8217;d have to put breaks in the text to make it match the table width!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4482</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Wed, 12 Jan 2005 13:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4482</guid>
		<description><![CDATA[The last sentence should have &#039;either&#039; in the end. Basically the whole CSS table specification is based on backwards compatibility. CSS 2.1 could not solve that problem I believe and I doubt if CSS 3 can.]]></description>
		<content:encoded><![CDATA[<p>The last sentence should have &#8216;either&#8217; in the end. Basically the whole CSS table specification is based on backwards compatibility. CSS 2.1 could not solve that problem I believe and I doubt if CSS 3 can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4481</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Wed, 12 Jan 2005 08:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4481</guid>
		<description><![CDATA[I have the feeling this was done for compatibility reasons. If you look at how the &lt;a href=&quot;http://www.w3.org/TR/html401/struct/tables.html#h-11.2.2&quot;&gt;CAPTION&lt;/a&gt; element is defined in HTML 4.01 you can see that the ALIGN attribute allows you to place the CAPTION element top, right, bottom and left of the TABLE element. In such cases, it is probably easier if it is placed outside of the TABLE box.

It is not a really nice solution, obviously. But I do not like the fact that &#039;height&#039; is not really &#039;height&#039; (and &#039;width&#039; is not really &#039;width&#039;) when applied to TABLE elements or elements that are styled as a table.]]></description>
		<content:encoded><![CDATA[<p>I have the feeling this was done for compatibility reasons. If you look at how the <a href="http://www.w3.org/TR/html401/struct/tables.html#h-11.2.2">CAPTION</a> element is defined in HTML 4.01 you can see that the ALIGN attribute allows you to place the CAPTION element top, right, bottom and left of the TABLE element. In such cases, it is probably easier if it is placed outside of the TABLE box.</p>
<p>It is not a really nice solution, obviously. But I do not like the fact that &#8216;height&#8217; is not really &#8216;height&#8217; (and &#8216;width&#8217; is not really &#8216;width&#8217;) when applied to TABLE elements or elements that are styled as a table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy Olsson</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4480</link>
		<dc:creator>Tommy Olsson</dc:creator>
		<pubDate>Wed, 12 Jan 2005 06:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4480</guid>
		<description><![CDATA[I&#039;ve encountered this caption problem before, and it is annoying. I don&#039;t usually blame the standards, because the people behind them have normally thought about issues that I haven&#039;t, but table captions seem less than intuitive.

Since the &lt;code&gt;CAPTION&lt;/code&gt; element is structurally subordinate to the &lt;code&gt;TABLE&lt;/code&gt; element, I find it natural that it &quot;lives&quot; within the table&#039;s box. Trying to have a left-justified caption in a centred table, however, clearly indicates that this is not the case in Gecko browsers. And since weird behaviour in Gecko browsers usually indicate weirdness in the CSS specification, who am I to grumble? :)

Re: border colour in &lt;abbr&gt;IE&lt;/abbr&gt;, I think I&#039;ve come across a similar bug that wasn&#039;t related to tables. It seems as if the foreground colour isn&#039;t properly inherited as border colour in &lt;abbr&gt;IE&lt;/abbr&gt;, and that you often need to set it explicitly.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve encountered this caption problem before, and it is annoying. I don&#8217;t usually blame the standards, because the people behind them have normally thought about issues that I haven&#8217;t, but table captions seem less than intuitive.</p>
<p>Since the <code>CAPTION</code> element is structurally subordinate to the <code>TABLE</code> element, I find it natural that it &#8220;lives&#8221; within the table&#8217;s box. Trying to have a left-justified caption in a centred table, however, clearly indicates that this is not the case in Gecko browsers. And since weird behaviour in Gecko browsers usually indicate weirdness in the CSS specification, who am I to grumble? :)</p>
<p>Re: border colour in <abbr>IE</abbr>, I think I&#8217;ve come across a similar bug that wasn&#8217;t related to tables. It seems as if the foreground colour isn&#8217;t properly inherited as border colour in <abbr>IE</abbr>, and that you often need to set it explicitly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Grevers</title>
		<link>http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4478</link>
		<dc:creator>Richard Grevers</dc:creator>
		<pubDate>Wed, 12 Jan 2005 04:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/01/11/tabular-weirdness/#comment-4478</guid>
		<description><![CDATA[Opera, FYI, behaves as exactly as Safarai does (5px margin between the caption box and table top border, and 16px above the caption box). I see that IE puts no gap between caption box and table top.]]></description>
		<content:encoded><![CDATA[<p>Opera, FYI, behaves as exactly as Safarai does (5px margin between the caption box and table top border, and 16px above the caption box). I see that IE puts no gap between caption box and table top.</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! -->