<?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: Horizontally Center a Box in the Browser Window</title>
	<atom:link href="http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 06 Sep 2010 23:01:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simon Kjellberg</title>
		<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/comment-page-1/#comment-110</link>
		<dc:creator>Simon Kjellberg</dc:creator>
		<pubDate>Thu, 10 Apr 2008 13:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/#comment-110</guid>
		<description>I’ve checked the browser statistics on W3Schools http://www.w3schools.com/browsers/browsers_stats.asp and 1,7% of their visitors were using IE5 during february 2008.

I’ve also checked the globalstats on http://www.w3counter.com/globalstats.php and IE5 is not even listed on that list.

I guess you can’t really rely on any browser statistics so it’s up to you to decide which browser you want to develop for. It&#039;s an interesting thing to discuss and it&#039;s not easy to decide which browsers you should aim for. 

It&#039;s always nice to be able to develop for as many browsers as possible so thanks for the IE5.5 and below tip! I had no idea about this before and  don&#039;t believe that so many others know about this.</description>
		<content:encoded><![CDATA[<p>I’ve checked the browser statistics on W3Schools <a href="http://www.w3schools.com/browsers/browsers_stats.asp" rel="nofollow">http://www.w3schools.com/browsers/browsers_stats.asp</a> and 1,7% of their visitors were using IE5 during february 2008.</p>
<p>I’ve also checked the globalstats on <a href="http://www.w3counter.com/globalstats.php" rel="nofollow">http://www.w3counter.com/globalstats.php</a> and IE5 is not even listed on that list.</p>
<p>I guess you can’t really rely on any browser statistics so it’s up to you to decide which browser you want to develop for. It&#8217;s an interesting thing to discuss and it&#8217;s not easy to decide which browsers you should aim for. </p>
<p>It&#8217;s always nice to be able to develop for as many browsers as possible so thanks for the IE5.5 and below tip! I had no idea about this before and  don&#8217;t believe that so many others know about this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/comment-page-1/#comment-104</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Thu, 10 Apr 2008 01:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/#comment-104</guid>
		<description>Check w3</description>
		<content:encoded><![CDATA[<p>Check w3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Kjellberg</title>
		<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/comment-page-1/#comment-103</link>
		<dc:creator>Simon Kjellberg</dc:creator>
		<pubDate>Wed, 09 Apr 2008 20:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/#comment-103</guid>
		<description>@adam The first line of CSS you submitted does not give the intended result in both Firefox or IE7.

The second row contains an error. You have written “…margin 0 :auto;…” and it should be “…margin: 0 auto;….”.  I changed it and then it worked as intended.

Do you have any statistics on how many that still use IE5.5 today?</description>
		<content:encoded><![CDATA[<p>@adam The first line of CSS you submitted does not give the intended result in both Firefox or IE7.</p>
<p>The second row contains an error. You have written “…margin 0 :auto;…” and it should be “…margin: 0 auto;….”.  I changed it and then it worked as intended.</p>
<p>Do you have any statistics on how many that still use IE5.5 today?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/comment-page-1/#comment-98</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Wed, 09 Apr 2008 06:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/#comment-98</guid>
		<description>Better way

.box-to-center{width:800px; display:block; margin-right:auto; margin-left:auto; text-align:center;}

Or
.box-to-center{width:800px; display:block; margin 0 :auto; text-align:center;}

The display:block; and text-align:center; is to deal with IE 5.5 and below centering and width issues.</description>
		<content:encoded><![CDATA[<p>Better way</p>
<p>.box-to-center{width:800px; display:block; margin-right:auto; margin-left:auto; text-align:center;}</p>
<p>Or<br />
.box-to-center{width:800px; display:block; margin 0 :auto; text-align:center;}</p>
<p>The display:block; and text-align:center; is to deal with IE 5.5 and below centering and width issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristopher</title>
		<link>http://www.swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/comment-page-1/#comment-23</link>
		<dc:creator>Kristopher</dc:creator>
		<pubDate>Tue, 26 Feb 2008 15:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://swedishfika.com/2008/02/23/horizontally-center-a-website-in-the-browser-window/#comment-23</guid>
		<description>Another tip to those learning CSS is that instead of using four lines for margin, you could simply list it as...

margin: 0 auto 0 auto;

...which is the shortcut of the margin tag. Just remember that it goes in a clockwise direction: top right bottom left.

*Just further iterating what Simon said =)</description>
		<content:encoded><![CDATA[<p>Another tip to those learning CSS is that instead of using four lines for margin, you could simply list it as&#8230;</p>
<p>margin: 0 auto 0 auto;</p>
<p>&#8230;which is the shortcut of the margin tag. Just remember that it goes in a clockwise direction: top right bottom left.</p>
<p>*Just further iterating what Simon said =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
