<?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: Center align a container in IE</title>
	<atom:link href="http://amiworks.co.in/talk/center-align-a-container-in-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/</link>
	<description>all about my work</description>
	<lastBuildDate>Sat, 12 May 2012 17:51:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Vivekanand</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-31974</link>
		<dc:creator>Vivekanand</dc:creator>
		<pubDate>Mon, 19 Apr 2010 17:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-31974</guid>
		<description>Hi All,

I would like to go with Piers Johnson - since when you make the DOCTYPE to Strict and if it is of HTML 4.0 then margin:0 auto; would work in all browsers.

1. DOCTYPE - Default - HTML 4.0, margin:0 auto; would not work -&gt; for this you need to add text-align:center;
2. DOCTYPE - Strict - HTML 4.0, margin:0 auto; would work in all browsers
3. DOCTYPE - Default - XHTML, margin:0 auto; would work like a charm

This is what I have discovered, when I was working for a project. Its a good R&amp;D for me - hope this might help others.....

Cheers!
Vivek [Founder of http://www.developersnippets.com]</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I would like to go with Piers Johnson &#8211; since when you make the DOCTYPE to Strict and if it is of HTML 4.0 then margin:0 auto; would work in all browsers.</p>
<p>1. DOCTYPE &#8211; Default &#8211; HTML 4.0, margin:0 auto; would not work -&gt; for this you need to add text-align:center;<br />
2. DOCTYPE &#8211; Strict &#8211; HTML 4.0, margin:0 auto; would work in all browsers<br />
3. DOCTYPE &#8211; Default &#8211; XHTML, margin:0 auto; would work like a charm</p>
<p>This is what I have discovered, when I was working for a project. Its a good R&amp;D for me &#8211; hope this might help others&#8230;..</p>
<p>Cheers!<br />
Vivek [Founder of <a href="http://www.developersnippets.com" rel="nofollow">http://www.developersnippets.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: itsAsecret</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-29540</link>
		<dc:creator>itsAsecret</dc:creator>
		<pubDate>Fri, 26 Feb 2010 17:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-29540</guid>
		<description>margin-left:auto;
margin-right:auto;

This is the same as 

margin:0 auto ; 
ddduuuuhhh, its the shorthand</description>
		<content:encoded><![CDATA[<p>margin-left:auto;<br />
margin-right:auto;</p>
<p>This is the same as </p>
<p>margin:0 auto ;<br />
ddduuuuhhh, its the shorthand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Pucan</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-25028</link>
		<dc:creator>Jake Pucan</dc:creator>
		<pubDate>Thu, 05 Nov 2009 05:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-25028</guid>
		<description>I agree with Piers Johnson says</description>
		<content:encoded><![CDATA[<p>I agree with Piers Johnson says</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-14497</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 21 Jul 2009 12:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-14497</guid>
		<description>It&#039;s an amazing trick! Thanks!</description>
		<content:encoded><![CDATA[<p>It&#8217;s an amazing trick! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dz</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-11033</link>
		<dc:creator>dz</dc:creator>
		<pubDate>Wed, 10 Jun 2009 10:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-11033</guid>
		<description>Amazing hack. I was pulling my hair out over this problem that the strict doctype would not solve as the padding is strange for IE6 for strange reasons.

Thank you!</description>
		<content:encoded><![CDATA[<p>Amazing hack. I was pulling my hair out over this problem that the strict doctype would not solve as the padding is strange for IE6 for strange reasons.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fawaz</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-6846</link>
		<dc:creator>Fawaz</dc:creator>
		<pubDate>Wed, 08 Apr 2009 11:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-6846</guid>
		<description>Dude your hack worked like a magic ..... Thanks man ....</description>
		<content:encoded><![CDATA[<p>Dude your hack worked like a magic &#8230;.. Thanks man &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Johnson</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-900</link>
		<dc:creator>Piers Johnson</dc:creator>
		<pubDate>Fri, 18 Jul 2008 12:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-900</guid>
		<description>You don&#039;t need to use that hack, if you use the strict DOCTYPE margin: 0 auto will work in IE6 as it would in all other browsers.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to use that hack, if you use the strict DOCTYPE margin: 0 auto will work in IE6 as it would in all other browsers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donald Organ</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/comment-page-1/#comment-678</link>
		<dc:creator>Donald Organ</dc:creator>
		<pubDate>Thu, 05 Jun 2008 16:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/#comment-678</guid>
		<description>i dont know setting the following properties works for me

margin-left:auto;
margin-right:auto;


That always seems to do the trick in IE and firefox.</description>
		<content:encoded><![CDATA[<p>i dont know setting the following properties works for me</p>
<p>margin-left:auto;<br />
margin-right:auto;</p>
<p>That always seems to do the trick in IE and firefox.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

