<?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"
	>
<channel>
	<title>Comments on: Don&#8217;t use &#8220;Divs for layout&#8221; please</title>
	<atom:link href="http://friendlybit.com/css/dont-use-divs-for-layout-please/feed/" rel="self" type="application/rss+xml" />
	<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/</link>
	<description>You have found Friendly Bit, a web development blog. I focus on client side technologies like CSS, HTML and Javascript. You find my articles below and categories to the right.</description>
	<pubDate>Sun, 12 Oct 2008 00:35:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: nirak.net - Musings of an LIS Student &#187; Breaking the cycle - Libraries and their websites.</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-26290</link>
		<dc:creator>nirak.net - Musings of an LIS Student &#187; Breaking the cycle - Libraries and their websites.</dc:creator>
		<pubDate>Wed, 25 Jul 2007 04:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-26290</guid>
		<description>[...] code is just messy. It&#8217;s a fairly universal rule in (good) web design nowadays to style the HTML elements that are already there whenever possible, [...]</description>
		<content:encoded><![CDATA[<p>[...] code is just messy. It&#8217;s a fairly universal rule in (good) web design nowadays to style the HTML elements that are already there whenever possible, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders M.J.</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-23152</link>
		<dc:creator>Anders M.J.</dc:creator>
		<pubDate>Sat, 07 Apr 2007 18:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-23152</guid>
		<description>@fan-tiger
I don't agree with you on using the style function (I presume you mean using the HTML style attribute). It's almost the same as using the font tag: you must edit multiple lines if you want to change something.

I'd make a class instead and call it with the span tag.</description>
		<content:encoded><![CDATA[<p>@fan-tiger<br />
I don&#8217;t agree with you on using the style function (I presume you mean using the HTML style attribute). It&#8217;s almost the same as using the font tag: you must edit multiple lines if you want to change something.</p>
<p>I&#8217;d make a class instead and call it with the span tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-9141</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Wed, 13 Dec 2006 21:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-9141</guid>
		<description>@Dan Edwards: I completely agree and you put it in a much better way than I do. It's a fine line.</description>
		<content:encoded><![CDATA[<p>@Dan Edwards: I completely agree and you put it in a much better way than I do. It&#8217;s a fine line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Edwards</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-9137</link>
		<dc:creator>Dan Edwards</dc:creator>
		<pubDate>Wed, 13 Dec 2006 19:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-9137</guid>
		<description>Hmm, tricky call this one, as its a fine line. Whilst I remain neutral on the use of tables, I still believe that divs are the way forward.

What MUST be educated to new CSS ers is that it is all to easy to fall into 'divitis' and this is what causes the problems. (divs within divs are almost as bad as nested tables).

DO encourage the use of DIVs - DON'T fall into 'divitis'</description>
		<content:encoded><![CDATA[<p>Hmm, tricky call this one, as its a fine line. Whilst I remain neutral on the use of tables, I still believe that divs are the way forward.</p>
<p>What MUST be educated to new CSS ers is that it is all to easy to fall into &#8216;divitis&#8217; and this is what causes the problems. (divs within divs are almost as bad as nested tables).</p>
<p>DO encourage the use of DIVs - DON&#8217;T fall into &#8216;divitis&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fan-tiger</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-8637</link>
		<dc:creator>fan-tiger</dc:creator>
		<pubDate>Thu, 07 Dec 2006 11:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-8637</guid>
		<description>I agree with combining html with css as a powerful layout manner. But please: don´t combine just divs with css. You get much more effects if You remember the style option.I also agree in the meaning of &#34;There´s lots of elements out there&#34;. Although You noticed to open mind for the comunication, at Your own page You still prefer the using of div, instead using frames or tables. Is there any specific reason for Your code choice?</description>
		<content:encoded><![CDATA[<p>I agree with combining html with css as a powerful layout manner. But please: don´t combine just divs with css. You get much more effects if You remember the style option.I also agree in the meaning of &quot;There´s lots of elements out there&quot;. Although You noticed to open mind for the comunication, at Your own page You still prefer the using of div, instead using frames or tables. Is there any specific reason for Your code choice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-7885</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Sun, 26 Nov 2006 13:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-7885</guid>
		<description>@Jeff: CSS is very different from using tables. Perhaps you could read an article I wrote about it? &lt;a href="http://friendlybit.com/css/beginners-guide-to-css-and-standards/" rel="nofollow"&gt;Guide to CSS and standards&lt;/a&gt; explains the thinking behind it; it's not just another technology, it's another way of thinking about websites.</description>
		<content:encoded><![CDATA[<p>@Jeff: CSS is very different from using tables. Perhaps you could read an article I wrote about it? <a href="http://friendlybit.com/css/beginners-guide-to-css-and-standards/" rel="nofollow">Guide to CSS and standards</a> explains the thinking behind it; it&#8217;s not just another technology, it&#8217;s another way of thinking about websites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-7846</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sun, 26 Nov 2006 00:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-7846</guid>
		<description>I've tried using DIVs for layouts and seem to have more problems with it than its worth.  Why are DIVs considered so much superior... especially when dealing with cms templates for example where dynamic content can really mess up alignment etc?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried using DIVs for layouts and seem to have more problems with it than its worth.  Why are DIVs considered so much superior&#8230; especially when dealing with cms templates for example where dynamic content can really mess up alignment etc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lillbra &#187; Blog Archive &#187; Att tänka på när du knappar html</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5523</link>
		<dc:creator>lillbra &#187; Blog Archive &#187; Att tänka på när du knappar html</dc:creator>
		<pubDate>Fri, 06 Oct 2006 08:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5523</guid>
		<description>[...] Att tabellayout är dåligt har de flesta front-end utvecklare insett och istället har man gått över till att använda div-taggar. Men att bygga upp en sida av en massa div:ar inte heller är rätt väg att gå. Emil Stenström påminner oss om att en duktig kodapa bör använda en mycket större flora av html-element: Because the idea of HTML is to convey structure. What structure does your content have? [&#8230;] Find the tags that best fit your particular purpose. There’s lots of elements out there. Any good front-end web developer should know (almost) all of them. Now, could we please stop using the phrase “Divs for layout”? Friendly Bit Don&#8217;t use &#8220;Div&#8217;s for layout&#8221; please (2006-09-11) [...]</description>
		<content:encoded><![CDATA[<p>[...] Att tabellayout är dåligt har de flesta front-end utvecklare insett och istället har man gått över till att använda div-taggar. Men att bygga upp en sida av en massa div:ar inte heller är rätt väg att gå. Emil Stenström påminner oss om att en duktig kodapa bör använda en mycket större flora av html-element: Because the idea of HTML is to convey structure. What structure does your content have? [&#8230;] Find the tags that best fit your particular purpose. There’s lots of elements out there. Any good front-end web developer should know (almost) all of them. Now, could we please stop using the phrase “Divs for layout”? Friendly Bit Don&#8217;t use &#8220;Div&#8217;s for layout&#8221; please (2006-09-11) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5058</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Sun, 24 Sep 2006 01:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5058</guid>
		<description>@Elliot Swan: I really hope so, thanks for your comment.

@Jasper, Dustin: Thanks! The intention of this site is to try to tell people what I know. Glad to hear some of it is getting through :)</description>
		<content:encoded><![CDATA[<p>@Elliot Swan: I really hope so, thanks for your comment.</p>
<p>@Jasper, Dustin: Thanks! The intention of this site is to try to tell people what I know. Glad to hear some of it is getting through :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5036</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Sat, 23 Sep 2006 16:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5036</guid>
		<description>Very good advice. I remember having a php textbook in a class, and it specifically taught you how to cut up tables to display your site properly. I've been looking for a better way to do that ever since, and CSS is clearly it. Thanks for helping me not make such a classic beginner mistake!</description>
		<content:encoded><![CDATA[<p>Very good advice. I remember having a php textbook in a class, and it specifically taught you how to cut up tables to display your site properly. I&#8217;ve been looking for a better way to do that ever since, and CSS is clearly it. Thanks for helping me not make such a classic beginner mistake!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5011</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Sat, 23 Sep 2006 02:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-5011</guid>
		<description>Very well said mate. Been reading your site for half an hour already... :)</description>
		<content:encoded><![CDATA[<p>Very well said mate. Been reading your site for half an hour already&#8230; :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Swan</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4822</link>
		<dc:creator>Elliot Swan</dc:creator>
		<pubDate>Tue, 19 Sep 2006 04:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4822</guid>
		<description>Yeah, I always cringe when I hear somebody say that. 

I find that sometimes newly converted developers will actually code as though they are using tables, but they just use div tags instead of tr/td tags.

Eventually they'll get it.</description>
		<content:encoded><![CDATA[<p>Yeah, I always cringe when I hear somebody say that. </p>
<p>I find that sometimes newly converted developers will actually code as though they are using tables, but they just use div tags instead of tr/td tags.</p>
<p>Eventually they&#8217;ll get it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4780</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Mon, 18 Sep 2006 01:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4780</guid>
		<description>divs are DIVIDERS to provide sections to our HTML markup. These sections group certain elements in that div which is the container for these elements.

Though extra wrapper DIVS are used to make layouts work as intended.


</description>
		<content:encoded><![CDATA[<p>divs are DIVIDERS to provide sections to our HTML markup. These sections group certain elements in that div which is the container for these elements.</p>
<p>Though extra wrapper DIVS are used to make layouts work as intended.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Millard</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4598</link>
		<dc:creator>Ben Millard</dc:creator>
		<pubDate>Tue, 12 Sep 2006 18:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4598</guid>
		<description>A non-CSS styling system would need &lt;em&gt;decades&lt;/em&gt; to get devised, designed, agreed upon and implemented into mainstream browsers. :)

&lt;a href="http://www.w3.org/TR/css3-selectors/"&gt;CSS3 selectors&lt;/a&gt; should go some way towards reducing the amount of &lt;code&gt;&#60;div&#62;&lt;/code&gt;s and &lt;code&gt;class&lt;/code&gt;es present in our markup. There's lots of other &lt;a href="http://www.w3.org/Style/CSS/current-work"&gt;CSS developments&lt;/a&gt; which will make semantic HTML documents easier to style more efficiently, too.

But we'll need some &lt;code&gt;&#60;div&#62;&lt;/code&gt;s and &lt;code&gt;class&lt;/code&gt;es in there for several years, until CSS3 selectors gain mainstream support in the browsers most people are using. But there's so many structural elements that you don't need many even now.</description>
		<content:encoded><![CDATA[<p>A non-CSS styling system would need <em>decades</em> to get devised, designed, agreed upon and implemented into mainstream browsers. :)</p>
<p><a href="http://www.w3.org/TR/css3-selectors/">CSS3 selectors</a> should go some way towards reducing the amount of <code>&lt;div&gt;</code>s and <code>class</code>es present in our markup. There&#8217;s lots of other <a href="http://www.w3.org/Style/CSS/current-work">CSS developments</a> which will make semantic HTML documents easier to style more efficiently, too.</p>
<p>But we&#8217;ll need some <code>&lt;div&gt;</code>s and <code>class</code>es in there for several years, until CSS3 selectors gain mainstream support in the browsers most people are using. But there&#8217;s so many structural elements that you don&#8217;t need many even now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4597</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Tue, 12 Sep 2006 18:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/css/dont-use-divs-for-layout-please/#comment-4597</guid>
		<description>@jenn.suz.hoy: I say beginners in the sense "people that don't know much about web standards". The same way I would call myself a beginner pizza maker, I don't know anything about making a real pizza.</description>
		<content:encoded><![CDATA[<p>@jenn.suz.hoy: I say beginners in the sense &#8220;people that don&#8217;t know much about web standards&#8221;. The same way I would call myself a beginner pizza maker, I don&#8217;t know anything about making a real pizza.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
