<?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: possible incorrect width values</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values</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/discussion/possible-incorrect-width-values/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>MNBob on possible incorrect width values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8899</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8899</guid>
        	        	<description><![CDATA[<p>It&#39;s the css associated with ui-widget-content which is assigned to the outermost div:</p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">.ui-widget-content</span></span><span style="font-size: x-small;"> { </span><span style="color: #ff0000; font-size: x-small;"><span style="color: #ff0000; font-size: x-small;">border</span></span><span style="font-size: x-small;">: </span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">1px</span></span><span style="font-size: x-small;"> </span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">solid</span></span><span style="font-size: x-small;"> </span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">#e8eef4;...</span></span></p>
</p>
<p><span style="font-size: x-small;">&#160;</span></p>
<p>Since that is the outermost div and it has borders, I assume the two inner divs should take those borders into consideration when calculating their widths. Perhaps I am mistaken but I know that the right side borders are not displayed properly. It is a very subtle problem as the borders are only off by&#160;a pixel or two. I can&#39;t just remove the borders in the css because that would break every jquery UI plug in that uses .ui-widget-content.</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 08:16:31 +0300</pubDate>
        </item>
        <item>
        	<title>tony on possible incorrect width values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8863</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8863</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do you have take a look into the ui.jqgrid.css?</p>
<p>Also this pixel commes not from the border of the div, but only from the border of the td element.</p>
<p>This only happen when you have height set to auto or 100%.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 02:27:14 +0300</pubDate>
        </item>
        <item>
        	<title>MNBob on possible incorrect width values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8843</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8843</guid>
        	        	<description><![CDATA[<p>In Firefox, I&#39;m looking at the generated source right now and I see the following three divs:</p>
</p>
<p>&#60;div style="width: 500px;" id="gbox_unregisteredUsers" class="ui-jqgrid ui-widget ui-widget-content ui-corner-all"&#62;</p>
<p>&#60;div style="width: 500px;" id="gview_unregisteredUsers" class="ui-jqgrid-view"&#62;</p>
<p>&#60;div class="ui-state-default ui-jqgrid-hdiv" style="width: 500px;"&#62;</p>
</p>
<p>The first encloses the second which encloses the third. As you can see they all have a width of 500px. Because the UI classes have borders this results in content overflow and none of the browsers I have used (IE 7, IE 8 or Firefox) display the grid exactly right. The right borders are off by a pixel or two or the border is extra wide depending on the browser.</p>
]]></description>
        	        	<pubDate>Thu, 20 Aug 2009 12:34:30 +0300</pubDate>
        </item>
        <item>
        	<title>tony on possible incorrect width values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8402</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8402</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is not true. You can see this very easy in FireBug</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 10 Aug 2009 05:19:21 +0300</pubDate>
        </item>
        <item>
        	<title>MNBob on possible incorrect width values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8253</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/possible-incorrect-width-values#p8253</guid>
        	        	<description><![CDATA[<p>The grid appears to assign the same width to multiple div containers. This is done despite the fact that the outer most div is assigned a ui class which more than likely has borders. The result is that the three divs inside the outermost div end up with widths that move them outside their container. This results in slightly incorrect border-right values.</p>
<p>I think the internal div widths should at least subtract the borders of the outermost div when computing their widths while initializing the grid.</p>
]]></description>
        	        	<pubDate>Tue, 04 Aug 2009 17:07:34 +0300</pubDate>
        </item>
</channel>
</rss>