<?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: Reflections on max-width</title>
	<atom:link href="http://www.svendtofte.com/stylesheets/reflections-on-max-width/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/</link>
	<description>rantings &#38; scraps on code and web development</description>
	<lastBuildDate>Sun, 11 Jul 2010 11:58:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Min-width, max-width, min-height y max-height también en IE &#8211; Blog &#8211; David Barredo</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-168</link>
		<dc:creator>Min-width, max-width, min-height y max-height también en IE &#8211; Blog &#8211; David Barredo</dc:creator>
		<pubDate>Thu, 24 Sep 2009 13:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-168</guid>
		<description>[...] Reflections on max-width, ie7.js y LibrosWeb.   Archivado en: CSSSin [...]</description>
		<content:encoded><![CDATA[<p>[...] Reflections on max-width, ie7.js y LibrosWeb.   Archivado en: CSSSin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-145</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 11 Jun 2009 13:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-145</guid>
		<description>You should probably fix the typo &quot;Dead Edwards.&quot; :)</description>
		<content:encoded><![CDATA[<p>You should probably fix the typo &#8220;Dead Edwards.&#8221; :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bitte Website bewerten [Editor] - html.de Forum - HTML f</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-120</link>
		<dc:creator>Bitte Website bewerten [Editor] - html.de Forum - HTML f</dc:creator>
		<pubDate>Sun, 15 Mar 2009 20:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-120</guid>
		<description>[...] gemacht wird). Svend Tofte l</description>
		<content:encoded><![CDATA[<p>[...] gemacht wird). Svend Tofte l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bitte Website bewerten [Editor] - html.de Forum - HTML f</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-119</link>
		<dc:creator>Bitte Website bewerten [Editor] - html.de Forum - HTML f</dc:creator>
		<pubDate>Sun, 15 Mar 2009 20:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-119</guid>
		<description>[...] gemacht wird). Svend Tofte l</description>
		<content:encoded><![CDATA[<p>[...] gemacht wird). Svend Tofte l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recent Links Tagged With "boxmodel" - JabberTags</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-113</link>
		<dc:creator>Recent Links Tagged With "boxmodel" - JabberTags</dc:creator>
		<pubDate>Tue, 16 Dec 2008 17:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-113</guid>
		<description>[...] boxmodel   Straight-up Topsider Aluminum Truck Tool Box - Model 4 Saved by soho on Mon 08-12-2008   Reflections on max-width Saved by Teknomanscythe on Mon 01-12-2008   Box Model - dimensions, padding, margin and borders [...]</description>
		<content:encoded><![CDATA[<p>[...] boxmodel   Straight-up Topsider Aluminum Truck Tool Box &#8211; Model 4 Saved by soho on Mon 08-12-2008   Reflections on max-width Saved by Teknomanscythe on Mon 01-12-2008   Box Model &#8211; dimensions, padding, margin and borders [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-112</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Tue, 16 Dec 2008 11:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-112</guid>
		<description>I think to swear off browser specific hacks as &#039;arrogance&#039; is in a way the same exact rigidness the author is deploring / trying to get away from. 

For me, as a designer, it&#039;s not about accepting &#039;blemishes&#039; or not accepting blemishes. It&#039;s simply a matter of doing what I want to do. If what I want to do can&#039;t be done it can&#039;t be done, where it gets frustrating is when it can be done elegantly in any of our targeted browsers except IE6. At this point, simply constraining an entire project, and the majority of users out of a feature or experiential aspect of the site just because IE6 is a weak browser is in my mind more &#039;just stupid&#039; then feeding IE6 a special little cookie so it will play nice and doing it the right way for everyone else.

Yes, an entire site littered with browser specific hacks would be an ugly unfortunate thing. But that&#039;s an extreme. As developers as well as designers we need to be flexible. Swearing off hacks altogether is not being flexible. If an entire project can come together exactly as the designers want it to, all with one or two concessions for IE6 (the currently problem vestige of a previous age), then as an architect I say so be it. 

The web and the world isn&#039;t made up of polar extremes. It&#039;s gray area. There are times where hacks for IE6 or Safari are the best compromises of implementation and intention.  

Don&#039;t hate the player dog. Hate the game.

Seth</description>
		<content:encoded><![CDATA[<p>I think to swear off browser specific hacks as &#8216;arrogance&#8217; is in a way the same exact rigidness the author is deploring / trying to get away from. </p>
<p>For me, as a designer, it&#8217;s not about accepting &#8216;blemishes&#8217; or not accepting blemishes. It&#8217;s simply a matter of doing what I want to do. If what I want to do can&#8217;t be done it can&#8217;t be done, where it gets frustrating is when it can be done elegantly in any of our targeted browsers except IE6. At this point, simply constraining an entire project, and the majority of users out of a feature or experiential aspect of the site just because IE6 is a weak browser is in my mind more &#8216;just stupid&#8217; then feeding IE6 a special little cookie so it will play nice and doing it the right way for everyone else.</p>
<p>Yes, an entire site littered with browser specific hacks would be an ugly unfortunate thing. But that&#8217;s an extreme. As developers as well as designers we need to be flexible. Swearing off hacks altogether is not being flexible. If an entire project can come together exactly as the designers want it to, all with one or two concessions for IE6 (the currently problem vestige of a previous age), then as an architect I say so be it. </p>
<p>The web and the world isn&#8217;t made up of polar extremes. It&#8217;s gray area. There are times where hacks for IE6 or Safari are the best compromises of implementation and intention.  </p>
<p>Don&#8217;t hate the player dog. Hate the game.</p>
<p>Seth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HotPotatoe</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-89</link>
		<dc:creator>HotPotatoe</dc:creator>
		<pubDate>Mon, 27 Oct 2008 15:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-89</guid>
		<description>Hi there, nice article and clear explanation.
I have a question fron which I haven&#039;t seen any answer yet.
I have a website done in flash 100%.
I want this website to be inside a layer and I want this layer to grow free and expand to fill the user&#039;s browser till certain point, this is: A máximun width of 1600px and a máximun heigth of 1000px. (I can live without fixing the height if necessary) The flash movie inside the div has it&#039;s size set to 100% width and heigth. If you apply this hack, or the JELLO MOLD hack, or at least every hack I have found on the Web, the content of the layer (the swf movie) wont be displayed in IE!! It just dissappear!!
It seems like because of it&#039;s relative width and height (100%) it doesn&#039;t have a solid presence to make it&#039;s container expand...
Try it yourself, you will see what I mean.
Can anybody bring me some help about this topic?</description>
		<content:encoded><![CDATA[<p>Hi there, nice article and clear explanation.<br />
I have a question fron which I haven&#8217;t seen any answer yet.<br />
I have a website done in flash 100%.<br />
I want this website to be inside a layer and I want this layer to grow free and expand to fill the user&#8217;s browser till certain point, this is: A máximun width of 1600px and a máximun heigth of 1000px. (I can live without fixing the height if necessary) The flash movie inside the div has it&#8217;s size set to 100% width and heigth. If you apply this hack, or the JELLO MOLD hack, or at least every hack I have found on the Web, the content of the layer (the swf movie) wont be displayed in IE!! It just dissappear!!<br />
It seems like because of it&#8217;s relative width and height (100%) it doesn&#8217;t have a solid presence to make it&#8217;s container expand&#8230;<br />
Try it yourself, you will see what I mean.<br />
Can anybody bring me some help about this topic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauvis Ledford</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-86</link>
		<dc:creator>Mauvis Ledford</dc:creator>
		<pubDate>Fri, 24 Oct 2008 18:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-86</guid>
		<description>@svend: I agree that the expression feature can be dangerous and in most cases the wrong tool to use, except in this exact circumstance and paired with an IE conditional statement. 

@Chad: I&#039;d rather use conditional CSS for the one browser that needs it (IE6) than switch to tables unnecessarily. Additionally, the above approach can work with limiting the size of things like embeds and other content without having to wrap each element in a table.</description>
		<content:encoded><![CDATA[<p>@svend: I agree that the expression feature can be dangerous and in most cases the wrong tool to use, except in this exact circumstance and paired with an IE conditional statement. </p>
<p>@Chad: I&#8217;d rather use conditional CSS for the one browser that needs it (IE6) than switch to tables unnecessarily. Additionally, the above approach can work with limiting the size of things like embeds and other content without having to wrap each element in a table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Lester</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-83</link>
		<dc:creator>Chad Lester</dc:creator>
		<pubDate>Wed, 22 Oct 2008 23:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-83</guid>
		<description>Frustratingly, all of my html was stripped out and I&#039;m not sure how to post my example - I&#039;ll use square brackets instead.

   [table][tr][td style=&quot;width:40em;&quot;][table][tr][td]

      Your content goes here

   [/td][/tr][/table][/td][/tr][/table]

Hope that works.</description>
		<content:encoded><![CDATA[<p>Frustratingly, all of my html was stripped out and I&#8217;m not sure how to post my example &#8211; I&#8217;ll use square brackets instead.</p>
<p>   [table][tr][td style="width:40em;"][table][tr][td]</p>
<p>      Your content goes here</p>
<p>   [/td][/tr][/table][/td][/tr][/table]</p>
<p>Hope that works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Lester</title>
		<link>http://www.svendtofte.com/stylesheets/reflections-on-max-width/comment-page-1/#comment-82</link>
		<dc:creator>Chad Lester</dc:creator>
		<pubDate>Wed, 22 Oct 2008 23:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.svendtofte.com/?p=4#comment-82</guid>
		<description>Thanks for your post on this subject.  However, it seems that there is a much simpler solution that works in every browser I tested: IE 6, IE 7, FireFox 3 (on Mac and PC) and Safari.  With two nested tables:



   Your content goes here.



What I have found is that &quot;width&quot; on a TD element is interpreted to mean: grow up to this width unless I&#039;m constrained by my parent.

The inner table is not really necessary unless your content might be smaller than the 40em and want a border or background color to shrink to the size of your content (in which case the style goes on the inner TD).  It has no width assignment (width=auto), so it will grow to be just as big as is needed to hold the contents, but never bigger than the constraining parent.

FYI, I was using:


Granted, this is a lot of extra markup and hence, still sort of a hack.  But it seems less hacky than using expression syntax to me.

Am I missing something?

Caveat - I have not read and understood the W3C table layout rules well enough to know if my solution is standards compliant.  I only know that it works on the browsers I tested.

The &quot;expression&quot; syntax is still worth knowing.
Thanks,
Chad</description>
		<content:encoded><![CDATA[<p>Thanks for your post on this subject.  However, it seems that there is a much simpler solution that works in every browser I tested: IE 6, IE 7, FireFox 3 (on Mac and PC) and Safari.  With two nested tables:</p>
<p>   Your content goes here.</p>
<p>What I have found is that &#8220;width&#8221; on a TD element is interpreted to mean: grow up to this width unless I&#8217;m constrained by my parent.</p>
<p>The inner table is not really necessary unless your content might be smaller than the 40em and want a border or background color to shrink to the size of your content (in which case the style goes on the inner TD).  It has no width assignment (width=auto), so it will grow to be just as big as is needed to hold the contents, but never bigger than the constraining parent.</p>
<p>FYI, I was using:</p>
<p>Granted, this is a lot of extra markup and hence, still sort of a hack.  But it seems less hacky than using expression syntax to me.</p>
<p>Am I missing something?</p>
<p>Caveat &#8211; I have not read and understood the W3C table layout rules well enough to know if my solution is standards compliant.  I only know that it works on the browsers I tested.</p>
<p>The &#8220;expression&#8221; syntax is still worth knowing.<br />
Thanks,<br />
Chad</p>
]]></content:encoded>
	</item>
</channel>
</rss>
