<?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: Unjustified Caption Text</title>
	<atom:link href="http://meyerweb.com/index.php?year=2004&#038;monthnum=12&#038;day=08&#038;name=unjustified-caption-text&#038;feed=feed" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/</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>Thu, 24 May 2012 19:21:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Federico</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2960</link>
		<dc:creator>Federico</dc:creator>
		<pubDate>Wed, 15 Dec 2004 03:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2960</guid>
		<description>Seth (11): That&#039;s not a &quot;feature&quot; but a bug.
Just add to your CSS:
&lt;code&gt;fieldset {border:0px solid}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Seth (11): That&#8217;s not a &#8220;feature&#8221; but a bug.<br />
Just add to your CSS:<br />
<code>fieldset {border:0px solid}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth Thomas Rasmussen</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2945</link>
		<dc:creator>Seth Thomas Rasmussen</dc:creator>
		<pubDate>Tue, 14 Dec 2004 22:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2945</guid>
		<description>The inconsistency with &lt;caption /&gt; is the most absurd simple tag issue since Opera insisted on putting borders on &lt;fieldset /&gt; despite what your stylesheets might have to say on the matter.</description>
		<content:encoded><![CDATA[<p>The inconsistency with &lt;caption /&gt; is the most absurd simple tag issue since Opera insisted on putting borders on &lt;fieldset /&gt; despite what your stylesheets might have to say on the matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2748</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Fri, 10 Dec 2004 02:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2748</guid>
		<description>re [8]: Eric, yes I agree with your interpretation about the display value for &lt;code&gt;caption&lt;/code&gt;, and how that works. The problem I see is that IE Win doesn&#039;t understand that value. I&#039;m not sure which algorythms are used by Microsoft (according to the css21 specs they can use different ones for &lt;code&gt;table&lt;/code&gt;).

It then ignores the value &#039;justify&#039;. Weird is that it aligns the caption as centered. I thought it&#039;s default value was &#039;left&#039;, could be wrong, though. I&#039;ve the habit of always including the text-align property in my stylesheets, to overcome weird inheritance problems.</description>
		<content:encoded><![CDATA[<p>re [8]: Eric, yes I agree with your interpretation about the display value for <code>caption</code>, and how that works. The problem I see is that IE Win doesn&#8217;t understand that value. I&#8217;m not sure which algorythms are used by Microsoft (according to the css21 specs they can use different ones for <code>table</code>).</p>
<p>It then ignores the value &#8216;justify&#8217;. Weird is that it aligns the caption as centered. I thought it&#8217;s default value was &#8216;left&#8217;, could be wrong, though. I&#8217;ve the habit of always including the text-align property in my stylesheets, to overcome weird inheritance problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2695</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 09 Dec 2004 16:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2695</guid>
		<description>Eric: you say in your post, 
&lt;blockquote cite=&quot;Eric&quot;&gt;It</description>
		<content:encoded><![CDATA[<p>Eric: you say in your post, </p>
<blockquote cite="Eric"><p>It</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2682</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 09 Dec 2004 14:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2682</guid>
		<description>Philippe: you&#039;re correct that &lt;code&gt;caption&lt;/code&gt; is defined to be an inline element in the HTML (and XHTML) DTD.  However, as &#039;Anonymous&#039; pointed out, any element declared to be &lt;code&gt;display: table-caption&lt;/code&gt; is treated as a block element.  I interpret that (and note it&#039;s an interpretation) to mean that a &lt;code&gt;table-caption&lt;/code&gt; element should generate a block box, and take on the aspects of a block box, the same as if you declared &lt;code&gt;caption {display: block;}&lt;/code&gt;.

Al: !

Roger: Yes, I noticed that too but wasn&#039;t able to pin it down well enough to report.  Once I do, I&#039;ll post about it. (Along with another obscure IE/Win table bug I found.)

Chris: I&#039;d like to see that.  I know there are a very limited number of properties that apply to &lt;code&gt;col&lt;/code&gt; elements, but I don&#039;t recall seeing anything about &lt;code&gt;caption&lt;/code&gt; elements.</description>
		<content:encoded><![CDATA[<p>Philippe: you&#8217;re correct that <code>caption</code> is defined to be an inline element in the HTML (and XHTML) DTD.  However, as &#8216;Anonymous&#8217; pointed out, any element declared to be <code>display: table-caption</code> is treated as a block element.  I interpret that (and note it&#8217;s an interpretation) to mean that a <code>table-caption</code> element should generate a block box, and take on the aspects of a block box, the same as if you declared <code>caption {display: block;}</code>.</p>
<p>Al: !</p>
<p>Roger: Yes, I noticed that too but wasn&#8217;t able to pin it down well enough to report.  Once I do, I&#8217;ll post about it. (Along with another obscure IE/Win table bug I found.)</p>
<p>Chris: I&#8217;d like to see that.  I know there are a very limited number of properties that apply to <code>col</code> elements, but I don&#8217;t recall seeing anything about <code>caption</code> elements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Plumlee</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2678</link>
		<dc:creator>Scott Plumlee</dc:creator>
		<pubDate>Thu, 09 Dec 2004 14:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2678</guid>
		<description>I just ran across a similar situation.  IE has a bug in that form text inputs in a fieldset seem to inherit the parent container elements margin.  It&#039;s one of those things that until you happen to set up the exact &quot;wrong&quot; situation, you&#039;ll never see it.
I wonder if it would be possible to set up a system where you could dynamically select select a series of HTML elements to be included on a page and apply CSS styles to those elements at the same time, then go back and add more elements as children of the first ones, etc.  Then you could possibly build a page to test the exact layout you wanted.
Anyway, this is another one to file away for future hair pulling sessions when things don&#039;t work.</description>
		<content:encoded><![CDATA[<p>I just ran across a similar situation.  IE has a bug in that form text inputs in a fieldset seem to inherit the parent container elements margin.  It&#8217;s one of those things that until you happen to set up the exact &#8220;wrong&#8221; situation, you&#8217;ll never see it.<br />
I wonder if it would be possible to set up a system where you could dynamically select select a series of HTML elements to be included on a page and apply CSS styles to those elements at the same time, then go back and add more elements as children of the first ones, etc.  Then you could possibly build a page to test the exact layout you wanted.<br />
Anyway, this is another one to file away for future hair pulling sessions when things don&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hester</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2676</link>
		<dc:creator>Chris Hester</dc:creator>
		<pubDate>Thu, 09 Dec 2004 13:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2676</guid>
		<description>I read somewhere that captions only take 3 basic formatting styles, which might be border, font and padding. Alas I can&#039;t for the life of me find the relevant page again! If I do, I will post the link here.</description>
		<content:encoded><![CDATA[<p>I read somewhere that captions only take 3 basic formatting styles, which might be border, font and padding. Alas I can&#8217;t for the life of me find the relevant page again! If I do, I will post the link here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2664</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 09 Dec 2004 08:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2664</guid>
		<description>http://www.w3.org/TR/CSS2/tables.html#x2
  caption is display: table-caption

The specification is not fully clear if table-caption is treated as block-level, but http://www.w3.org/TR/CSS21/tables.html#q6 says:
  &quot;Captions above or below a &#039;table&#039; element are formatted very much as if they were a block element before or after the table, except that (1) they inherit inheritable properties from the table, and (2) they are not considered to be a block box for the purposes of any &#039;run-in&#039; element that may precede the table.&quot;

http://www.w3.org/TR/CSS2/text.html#propdef-text-align
  &quot;Conforming user agents may interpret the value &#039;justify&#039; as &#039;left&#039; or &#039;right&#039;, depending on whether the element&#039;s default writing direction is left-to-right or right-to-left, respectively.&quot;</description>
		<content:encoded><![CDATA[<p><a href="http://www.w3.org/TR/CSS2/tables.html#x2" rel="nofollow">http://www.w3.org/TR/CSS2/tables.html#x2</a><br />
  caption is display: table-caption</p>
<p>The specification is not fully clear if table-caption is treated as block-level, but <a href="http://www.w3.org/TR/CSS21/tables.html#q6" rel="nofollow">http://www.w3.org/TR/CSS21/tables.html#q6</a> says:<br />
  &#8220;Captions above or below a &#8216;table&#8217; element are formatted very much as if they were a block element before or after the table, except that (1) they inherit inheritable properties from the table, and (2) they are not considered to be a block box for the purposes of any &#8216;run-in&#8217; element that may precede the table.&#8221;</p>
<p><a href="http://www.w3.org/TR/CSS2/text.html#propdef-text-align" rel="nofollow">http://www.w3.org/TR/CSS2/text.html#propdef-text-align</a><br />
  &#8220;Conforming user agents may interpret the value &#8216;justify&#8217; as &#8216;left&#8217; or &#8216;right&#8217;, depending on whether the element&#8217;s default writing direction is left-to-right or right-to-left, respectively.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Johansson</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2662</link>
		<dc:creator>Roger Johansson</dc:creator>
		<pubDate>Thu, 09 Dec 2004 07:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2662</guid>
		<description>The caption element is treated differently in Gecko browsers and Safari too. I don&#039;t remember which is which right now, but if you add a top margin to the table, one of the two will push the caption away (provided the caption is displayed at the top, obviously), and the other will not, which is what I would expect.

Maybe that has something to do with Philippe&#039;s comment about caption being an inline element. Guess I&#039;ll have to look into that ;)</description>
		<content:encoded><![CDATA[<p>The caption element is treated differently in Gecko browsers and Safari too. I don&#8217;t remember which is which right now, but if you add a top margin to the table, one of the two will push the caption away (provided the caption is displayed at the top, obviously), and the other will not, which is what I would expect.</p>
<p>Maybe that has something to do with Philippe&#8217;s comment about caption being an inline element. Guess I&#8217;ll have to look into that ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2661</link>
		<dc:creator>Bernd</dc:creator>
		<pubDate>Thu, 09 Dec 2004 06:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2661</guid>
		<description>I think the problem has its root that they use the html align attribute to align text within a caption rather than the caption box. So align=&quot;left&quot; would not put the caption box left to the table as required by html 4.01 but would make the text left aligned.</description>
		<content:encoded><![CDATA[<p>I think the problem has its root that they use the html align attribute to align text within a caption rather than the caption box. So align=&#8221;left&#8221; would not put the caption box left to the table as required by html 4.01 but would make the text left aligned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2658</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Thu, 09 Dec 2004 05:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2658</guid>
		<description>.</description>
		<content:encoded><![CDATA[<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2657</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Thu, 09 Dec 2004 05:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2004/12/08/unjustified-caption-text/#comment-2657</guid>
		<description>I&#039;ve done that head-scratching a while ago for a problem with padding Setting it to &lt;code&gt;display:block&lt;/code&gt; explicitly did solve my problem. Hmm, according to the &lt;a href=&quot;http://www.w3.org/TR/html401/struct/tables.html#edef-CAPTION&quot;&gt;html 4.01 specs&lt;/a&gt; it is an inline element. Or do I read that wrong ?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done that head-scratching a while ago for a problem with padding Setting it to <code>display:block</code> explicitly did solve my problem. Hmm, according to the <a href="http://www.w3.org/TR/html401/struct/tables.html#edef-CAPTION">html 4.01 specs</a> it is an inline element. Or do I read that wrong ?</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! -->
