<?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: YUI Grids CSS framework considered harmful.</title>
	<atom:link href="http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/</link>
	<description>designs stuff and writes code.</description>
	<lastBuildDate>Sun, 14 Mar 2010 17:04:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: What is CSS Framework? &#124; HTML-Advisor</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-200670</link>
		<dc:creator>What is CSS Framework? &#124; HTML-Advisor</dc:creator>
		<pubDate>Thu, 31 Dec 2009 09:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-200670</guid>
		<description>[...] should be aware that these frameworks are often criticized for bloating the code with non-semantic markup and generating too many unnecessary classes, IDs and [...]</description>
		<content:encoded><![CDATA[<p>[...] should be aware that these frameworks are often criticized for bloating the code with non-semantic markup and generating too many unnecessary classes, IDs and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Swan</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-199236</link>
		<dc:creator>Elliot Swan</dc:creator>
		<pubDate>Thu, 17 Dec 2009 18:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-199236</guid>
		<description>Hmm... Pretty sure that was the point of the article. Glad to know you read them before commenting!</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; Pretty sure that was the point of the article. Glad to know you read them before commenting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Man</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-199218</link>
		<dc:creator>Man</dc:creator>
		<pubDate>Thu, 17 Dec 2009 12:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-199218</guid>
		<description>you dont understand a thing bout css man, it was a waste of time reading this...using tables to build a layout is totally anti-w3c conventions....lets give u a moment for studying...</description>
		<content:encoded><![CDATA[<p>you dont understand a thing bout css man, it was a waste of time reading this&#8230;using tables to build a layout is totally anti-w3c conventions&#8230;.lets give u a moment for studying&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Swan</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-170421</link>
		<dc:creator>Elliot Swan</dc:creator>
		<pubDate>Wed, 25 Mar 2009 03:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-170421</guid>
		<description>A few things:

- CSS Frameworks &lt;em&gt;have&lt;/em&gt; evolved. I know this, because I&#039;ve used them. Yahoo also knows this, because they&#039;ve updated their framework since this post and have notified me of it.

- The code I posted for how YUI Grids works &lt;em&gt;is&lt;/em&gt; how it was. I copy and pasted it from their own website, and I am not going to take back what I said about it. However, I hear that it&#039;s better now, and I am guessing the YUI Grids that you know and seem to love is this newer one, not the one this article is about.

- The comments do hold an awesome discussion on YUI Grids and frameworks in general, but many of them are from people discussing the current YUI Grids, not what the article is about. YUI Grids might be fine now, I do not know for sure. Funny you mention how you&#039;re not from Yahoo!, because I have been in contact with them about this post in the past and they nicely asked (not required) that I put up a note similar to the one I have up now. No one from Yahoo! has ever asked that I disclaim my entire article, and I see no reason to do so, either.</description>
		<content:encoded><![CDATA[<p>A few things:</p>
<p>- CSS Frameworks <em>have</em> evolved. I know this, because I&#8217;ve used them. Yahoo also knows this, because they&#8217;ve updated their framework since this post and have notified me of it.</p>
<p>- The code I posted for how YUI Grids works <em>is</em> how it was. I copy and pasted it from their own website, and I am not going to take back what I said about it. However, I hear that it&#8217;s better now, and I am guessing the YUI Grids that you know and seem to love is this newer one, not the one this article is about.</p>
<p>- The comments do hold an awesome discussion on YUI Grids and frameworks in general, but many of them are from people discussing the current YUI Grids, not what the article is about. YUI Grids might be fine now, I do not know for sure. Funny you mention how you&#8217;re not from Yahoo!, because I have been in contact with them about this post in the past and they nicely asked (not required) that I put up a note similar to the one I have up now. No one from Yahoo! has ever asked that I disclaim my entire article, and I see no reason to do so, either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-170407</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 25 Mar 2009 01:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-170407</guid>
		<description>Hello Elliot,

I don&#039;t think that your new disclaimer is sufficient (and no, I do NOT work for or have any affiliation with Yahoo).  It&#039;s not that Yahoo YUI Grids or CSS Frameworks have evolved and that they are better than when you first wrote this article.  It&#039;s that you made some mistaken claims about YUI Grids, misunderstood it&#039;s full benefit and didn&#039;t properly use some of your terms (as many of the comments here demonstrate - including one from the author of YUI Gridsd).

I think a better disclaimer would be that one should read the comments after (or instead of) reading my article because they shed a great deal of light on the purpose, benefit and advantage of using a CSS Framework in general and YUI Grids in particular.  In short, fess up - YUI Grids is an extremely clever Framework that benefits many web developers.</description>
		<content:encoded><![CDATA[<p>Hello Elliot,</p>
<p>I don&#8217;t think that your new disclaimer is sufficient (and no, I do NOT work for or have any affiliation with Yahoo).  It&#8217;s not that Yahoo YUI Grids or CSS Frameworks have evolved and that they are better than when you first wrote this article.  It&#8217;s that you made some mistaken claims about YUI Grids, misunderstood it&#8217;s full benefit and didn&#8217;t properly use some of your terms (as many of the comments here demonstrate &#8211; including one from the author of YUI Gridsd).</p>
<p>I think a better disclaimer would be that one should read the comments after (or instead of) reading my article because they shed a great deal of light on the purpose, benefit and advantage of using a CSS Framework in general and YUI Grids in particular.  In short, fess up &#8211; YUI Grids is an extremely clever Framework that benefits many web developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Swan</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-165412</link>
		<dc:creator>Elliot Swan</dc:creator>
		<pubDate>Wed, 11 Feb 2009 02:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-165412</guid>
		<description>Thanks everybody for all of the great discussion that&#039;s gone on here for the past three years. CSS frameworks have advanced quite a bit since I first wrote this post, and I feel it&#039;s important to note that this was written about the very first grid framework attempt ever, so much of what I said may not apply to the current frameworks. I added the following to the beginning of the post for any first-time readers, and I thought I would re-post it here as well: 

&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; Please realize that this post was written in 2006, and a lot has changed since then–including YUI Grids. I am not too familiar with how the framework works now, but I am told it’s much better than it was when I wrote this article. Also note that I am not against all CSS frameworks and am even known to use them occasionally myself.&lt;/em&gt;

Again, thanks for reading and taking the time to participate here, and I hope you&#039;ll continue to do so. You can always &lt;a href=&quot;http://www.elliotswan.com/feed/&quot; rel=&quot;nofollow&quot;&gt;subscribe&lt;/a&gt; to the blog if this kind of stuff interests you and you&#039;d like to continue in awesome discussion.</description>
		<content:encoded><![CDATA[<p>Thanks everybody for all of the great discussion that&#8217;s gone on here for the past three years. CSS frameworks have advanced quite a bit since I first wrote this post, and I feel it&#8217;s important to note that this was written about the very first grid framework attempt ever, so much of what I said may not apply to the current frameworks. I added the following to the beginning of the post for any first-time readers, and I thought I would re-post it here as well: </p>
<p><em><strong>Note:</strong> Please realize that this post was written in 2006, and a lot has changed since then–including YUI Grids. I am not too familiar with how the framework works now, but I am told it’s much better than it was when I wrote this article. Also note that I am not against all CSS frameworks and am even known to use them occasionally myself.</em></p>
<p>Again, thanks for reading and taking the time to participate here, and I hope you&#8217;ll continue to do so. You can always <a href="http://www.elliotswan.com/feed/" rel="nofollow">subscribe</a> to the blog if this kind of stuff interests you and you&#8217;d like to continue in awesome discussion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy James</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-165407</link>
		<dc:creator>Jeremy James</dc:creator>
		<pubDate>Wed, 11 Feb 2009 02:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-165407</guid>
		<description>I think there&#039;s a common confusion of terms going on just about every time I see someone attack grid based layouts. Maybe this will help:

1) For the most part (ignoring semantic-ish tags like code and blockquote for the moment) HTML is for adding &quot;structure&quot; to the content it contains. That&#039;s it. Structure is comprised of three things: a) Hierarchy, b) Linear Flow, and c) Grouping [with divs].

2) CSS is for enhancing this underlying structure with: 1) Positioning, aka &quot;layout&quot;--which is NOT the same thing as structure!, and 2) Styling / Presentation. You could add limited UI if you consider some of the a:hover techniques, but for the sake of brevity I&#039;ll ignore those.

The point is, CSS is *for* adding layout &amp; presentational elements, NOT for adding semantics (which is the domain of microformats and certain XML schemes). Though I agree, it&#039;s nice when you can add in some semantic meaning as a bonus to whatever else you&#039;re trying to accomplish with CSS.

Personally, I like to intermingle both approaches by adding supplementary ids and classes which describe the semantics of the content I&#039;m working with.</description>
		<content:encoded><![CDATA[<p>I think there&#8217;s a common confusion of terms going on just about every time I see someone attack grid based layouts. Maybe this will help:</p>
<p>1) For the most part (ignoring semantic-ish tags like code and blockquote for the moment) HTML is for adding &#8220;structure&#8221; to the content it contains. That&#8217;s it. Structure is comprised of three things: a) Hierarchy, b) Linear Flow, and c) Grouping [with divs].</p>
<p>2) CSS is for enhancing this underlying structure with: 1) Positioning, aka &#8220;layout&#8221;&#8211;which is NOT the same thing as structure!, and 2) Styling / Presentation. You could add limited UI if you consider some of the a:hover techniques, but for the sake of brevity I&#8217;ll ignore those.</p>
<p>The point is, CSS is *for* adding layout &amp; presentational elements, NOT for adding semantics (which is the domain of microformats and certain XML schemes). Though I agree, it&#8217;s nice when you can add in some semantic meaning as a bonus to whatever else you&#8217;re trying to accomplish with CSS.</p>
<p>Personally, I like to intermingle both approaches by adding supplementary ids and classes which describe the semantics of the content I&#8217;m working with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chase Martin</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-163054</link>
		<dc:creator>Chase Martin</dc:creator>
		<pubDate>Sat, 17 Jan 2009 18:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-163054</guid>
		<description>*structural even ;)</description>
		<content:encoded><![CDATA[<p>*structural even <img src='http://www.elliotswan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chase Martin</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-163053</link>
		<dc:creator>Chase Martin</dc:creator>
		<pubDate>Sat, 17 Jan 2009 18:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-163053</guid>
		<description>Nice article, though I think you&#039;re missing an important point. CSS3 (or 4) may eventually make frameworks obsolete, but not today. 

YUI grids are a foundation for web applications, not simply a document style sheet. For instance, the four column grid you showed can be manipulated with javascript to display in any order by adding or removing the &quot;first&quot; classnames as needed. 

Secondly, the grids provide a way to automate the layout, a strong requirement of web applications. This is especially true when pages are required to evolve in real time. If markup does not have structural divs and a predictable css rules, a developer might have to modify many interrelated styles just to add a single element asynchronously. 

Using table code for layout is the very definition of mixing presentation with content and is not semantic, whereas using spans and divs for layout within markup is exactly what those tags are for! I might point out that your table code requires more markup to make it equivalent with the YUI grid including classes and don&#039;t forget the cellpadding=0 etc... the grid is far better semantically.

In the end, I think that YUI grids make markup more readable from a developer&#039;s prospective, more easily manipulated with javascript, easier to maintain, and at the same time, more cross-browser friendly and more accessible than using sparse html and stylitis... yes, too much style, not enough markup is often more cumbersome and difficult to maintain than a judicial use of divs.

I&#039;ll concede that tructural markup should be kept to layout only (divs for rounded corners is javascript territory), but YUI does a good job of that. Check out the YUI sample application to see what you can do with an extra div tag or two.</description>
		<content:encoded><![CDATA[<p>Nice article, though I think you&#8217;re missing an important point. CSS3 (or 4) may eventually make frameworks obsolete, but not today. </p>
<p>YUI grids are a foundation for web applications, not simply a document style sheet. For instance, the four column grid you showed can be manipulated with javascript to display in any order by adding or removing the &#8220;first&#8221; classnames as needed. </p>
<p>Secondly, the grids provide a way to automate the layout, a strong requirement of web applications. This is especially true when pages are required to evolve in real time. If markup does not have structural divs and a predictable css rules, a developer might have to modify many interrelated styles just to add a single element asynchronously. </p>
<p>Using table code for layout is the very definition of mixing presentation with content and is not semantic, whereas using spans and divs for layout within markup is exactly what those tags are for! I might point out that your table code requires more markup to make it equivalent with the YUI grid including classes and don&#8217;t forget the cellpadding=0 etc&#8230; the grid is far better semantically.</p>
<p>In the end, I think that YUI grids make markup more readable from a developer&#8217;s prospective, more easily manipulated with javascript, easier to maintain, and at the same time, more cross-browser friendly and more accessible than using sparse html and stylitis&#8230; yes, too much style, not enough markup is often more cumbersome and difficult to maintain than a judicial use of divs.</p>
<p>I&#8217;ll concede that tructural markup should be kept to layout only (divs for rounded corners is javascript territory), but YUI does a good job of that. Check out the YUI sample application to see what you can do with an extra div tag or two.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/comment-page-1/#comment-161592</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 22 Dec 2008 18:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.elliotswan.com/2006/05/10/yui-grids-css-framework-considered-harmful/#comment-161592</guid>
		<description>True. What&#039;s funny is that there is some thoughtful commentary on this original post which wasn&#039;t very thoughtful (paradoxically, the author later comes out in favor of the Blueprint CSS framework--which I like too--a framework which also doesn&#039;t let you create a pure tableless layout without &quot;extra divs&quot;).</description>
		<content:encoded><![CDATA[<p>True. What&#8217;s funny is that there is some thoughtful commentary on this original post which wasn&#8217;t very thoughtful (paradoxically, the author later comes out in favor of the Blueprint CSS framework&#8211;which I like too&#8211;a framework which also doesn&#8217;t let you create a pure tableless layout without &#8220;extra divs&#8221;).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
