<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Problem with body { margin: auto; }</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>JJohnson on Problem with body { margin: auto; }</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3546</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3546</guid>
        	        	<description><![CDATA[<p>Thanks for your reply.</p>
<p>After a bit of thought and some CSS changes,centering now consistently works for IE as well as FF.</p></p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2008 02:14:58 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Problem with body { margin: auto; }</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3544</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3544</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I will say this is not a jqGrid problem.</p>
<p>It is well known that margin auto DOES NOT WORK in IE.</p>
<p>Just google it.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2008 00:40:07 +0200</pubDate>
        </item>
        <item>
        	<title>JJohnson on Problem with body { margin: auto; }</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3542</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-body-margin-auto#p3542</guid>
        	        	<description><![CDATA[<p>Posting this as a bug, as the behaviour is different in FF3 and IE6.</p>
<p>I&#39;m having a problem using margin:auto to center the page. I found this problem on one of my own pages, but have managed to reproduce it using minimal changes to the code found at <a href="http://trirand.com/jqgrid/example.html" rel="nofollow" target="_blank">http://trirand.com/jqgrid/example.html</a></p>
<p>Added after html, body {&#8230;} :</p>
<p>body {<br />&#160;&#160;&#160; margin:auto;<br />&#160;&#160;&#160; width:800px;<br />}</p>
<p>Added:</p>
<p>&#60;link href="/jquery/themes/jqModal.css" rel="stylesheet" type="text/css" /&#62;<br />&#60;script type="text/javascript" src="/jquery/js/jqModal.js"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript" src="/jquery/js/jqDnR.js"&#62;&#60;/script&#62;</p>
<p>Changed:</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#8230;<br />&#160;&#160;&#160; &#160;&#160;&#160; sortorder: &#8220;desc&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; caption: &#8220;Demo&#8221;<br />&#160;&#160;&#160; }).navGrid(&#39;#pager2&#39;);<br />&#160;&#160;&#160; });</p>
<p>This works as I expect in FireFox.&#160; The body div is centered and stays centered.&#160; (The grid appears slightly uncentered due to it not completely filling the div, but that isn&#39;t an issue for this test.)</p>
<p>In IE(6) however, while the body div is centered on load, clicking on any of the pager buttons which bring up an overlay and dialog moves the grid to the left side of the screen.</p>
<p>I&#39;m hoping someone can confirm this as being a problem, as I can find no mention of body margins having to be set to fixed values in the documentation or the forums.</p></p>
]]></description>
        	        	<pubDate>Sun, 14 Dec 2008 14:30:14 +0200</pubDate>
        </item>
</channel>
</rss>