<?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: Styling the html and body Elements</title>
	<atom:link href="http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Mon, 23 Nov 2009 12:09:39 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew Tetlaw</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-879585</link>
		<dc:creator>Andrew Tetlaw</dc:creator>
		<pubDate>Tue, 17 Feb 2009 20:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-879585</guid>
		<description>@IJoeR, it works just fine. In fact you can have a background image on the html element as well (as I mentioned above). I&#039;m not sure what problem you&#039;re hinting at.</description>
		<content:encoded><![CDATA[<p>@IJoeR, it works just fine. In fact you can have a background image on the html element as well (as I mentioned above). I&#8217;m not sure what problem you&#8217;re hinting at.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: IJoeR</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-879502</link>
		<dc:creator>IJoeR</dc:creator>
		<pubDate>Tue, 17 Feb 2009 16:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-879502</guid>
		<description>so with this technique, what happens if you want to use a background image in the body tag?

I think i like the two div technique better.</description>
		<content:encoded><![CDATA[<p>so with this technique, what happens if you want to use a background image in the body tag?</p>
<p>I think i like the two div technique better.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Meitar</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-879099</link>
		<dc:creator>Meitar</dc:creator>
		<pubDate>Mon, 16 Feb 2009 07:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-879099</guid>
		<description>Interesting. Thanks for sharing!

Do you have any information on the styling of root elements for XML documents (or &quot;real&quot; XHTML)? I know the W3C recommends not to style the &lt;code&gt;html&lt;/code&gt; element, but don&#039;t know if this is so for other markup languages.</description>
		<content:encoded><![CDATA[<p>Interesting. Thanks for sharing!</p>
<p>Do you have any information on the styling of root elements for XML documents (or &#8220;real&#8221; XHTML)? I know the W3C recommends not to style the <code>html</code> element, but don&#8217;t know if this is so for other markup languages.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Flight RisK</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-878946</link>
		<dc:creator>Flight RisK</dc:creator>
		<pubDate>Sun, 15 Feb 2009 18:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-878946</guid>
		<description>My first thought on reading this was, &quot;An interesting exploration into the HTML and BODY elements.&quot; But my second reaction was, &quot;Is the HTML element semantically different, from a document POV, such that it shouldn&#039;t be treated the same as body, or, more importantly, the DIV tag?&quot;</description>
		<content:encoded><![CDATA[<p>My first thought on reading this was, &#8220;An interesting exploration into the HTML and BODY elements.&#8221; But my second reaction was, &#8220;Is the HTML element semantically different, from a document POV, such that it shouldn&#8217;t be treated the same as body, or, more importantly, the DIV tag?&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: webringnet.com</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-878146</link>
		<dc:creator>webringnet.com</dc:creator>
		<pubDate>Sat, 14 Feb 2009 00:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-878146</guid>
		<description>nice discover. no wonder my visitor complaint my blog about layout position. some say it messy and i encourage them to used firefox</description>
		<content:encoded><![CDATA[<p>nice discover. no wonder my visitor complaint my blog about layout position. some say it messy and i encourage them to used firefox</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Polaine</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-877368</link>
		<dc:creator>Andy Polaine</dc:creator>
		<pubDate>Thu, 12 Feb 2009 23:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-877368</guid>
		<description>I quite like the 90s net art of the Safari html element placing.</description>
		<content:encoded><![CDATA[<p>I quite like the 90s net art of the Safari html element placing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul O'B</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-877351</link>
		<dc:creator>Paul O'B</dc:creator>
		<pubDate>Thu, 12 Feb 2009 22:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-877351</guid>
		<description>@Andrew, Yes if you centre using the body then the zoom goes wide to the right in IE7 right from the start. 

It acts as if the viewport is the left edge of the centred body section and zooms the rest of the page out the right side of the browser.

I&#039;ve always avoided using the body to centre elements because I previously supported ie5.x and if you use the body to centre then it is impossible to centre the page for ie5.x because it doesn&#039;t understand auto margins. It&#039;s not really an issue these days but old habits die hard :)</description>
		<content:encoded><![CDATA[<p>@Andrew, Yes if you centre using the body then the zoom goes wide to the right in IE7 right from the start. </p>
<p>It acts as if the viewport is the left edge of the centred body section and zooms the rest of the page out the right side of the browser.</p>
<p>I&#8217;ve always avoided using the body to centre elements because I previously supported ie5.x and if you use the body to centre then it is impossible to centre the page for ie5.x because it doesn&#8217;t understand auto margins. It&#8217;s not really an issue these days but old habits die hard :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Tetlaw</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-877291</link>
		<dc:creator>Andrew Tetlaw</dc:creator>
		<pubDate>Thu, 12 Feb 2009 20:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-877291</guid>
		<description>@AutisticCuckoo, I never tested zooming, that&#039;s very unfortunate. I&#039;d be a deal-breaker for me too.</description>
		<content:encoded><![CDATA[<p>@AutisticCuckoo, I never tested zooming, that&#8217;s very unfortunate. I&#8217;d be a deal-breaker for me too.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Koistya `Navin</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-877258</link>
		<dc:creator>Koistya `Navin</dc:creator>
		<pubDate>Thu, 12 Feb 2009 18:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-877258</guid>
		<description>I like this approach. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>I like this approach. Thanks for sharing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul O'B</title>
		<link>http://www.sitepoint.com/blogs/2009/02/11/styling-the-html-and-body-elements/comment-page-1/#comment-877141</link>
		<dc:creator>Paul O'B</dc:creator>
		<pubDate>Thu, 12 Feb 2009 14:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=5295#comment-877141</guid>
		<description>The w3c (14.2 background) recommend that for html pages the html element is not styled.

&lt;blockquote&gt;
For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. For HTML documents whose root HTML element has computed values of &#039;transparent&#039; for &#039;background-color&#039; and &#039;none&#039; for &#039;background-image&#039;, user agents must instead use the computed value of those properties from that HTML element&#039;s first BODY element child when painting backgrounds for the canvas, and must not paint a background for that BODY element. Such backgrounds must also be anchored at the same point as they would be if they were painted only for the root element. This does not apply to XHTML documents. &lt;/blockquote&gt;

You should only attempt to style the html element in xhtml documents.</description>
		<content:encoded><![CDATA[<p>The w3c (14.2 background) recommend that for html pages the html element is not styled.</p>
<blockquote><p>
For HTML documents, however, we recommend that authors specify the background for the BODY element rather than the HTML element. For HTML documents whose root HTML element has computed values of &#8216;transparent&#8217; for &#8216;background-color&#8217; and &#8216;none&#8217; for &#8216;background-image&#8217;, user agents must instead use the computed value of those properties from that HTML element&#8217;s first BODY element child when painting backgrounds for the canvas, and must not paint a background for that BODY element. Such backgrounds must also be anchored at the same point as they would be if they were painted only for the root element. This does not apply to XHTML documents. </p></blockquote>
<p>You should only attempt to style the html element in xhtml documents.</p>]]></content:encoded>
	</item>
</channel>
</rss>
