<?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: css stylesheet</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/css-stylesheet</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/help/css-stylesheet/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mirku on css stylesheet</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/css-stylesheet#p17669</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/css-stylesheet#p17669</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>I have the following simple code:</p>
<p>${</p>
<p>&#60;html&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#60;title&#62;My First Grid&#60;/title&#62;<br />&#160;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/redmond/jquery-ui-1.8.1.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;</p>
<p>&#160;<br />&#60;style&#62;<br />html, body {<br />&#160;margin: 0;<br />&#160;&#160;&#160; padding: 0;<br />&#160;&#160;&#160; font-size: 75%;<br />}<br />&#60;/style&#62;<br />&#160;<br />&#60;script src="js/jquery-1.4.2.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/src/grid.loader.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#160;<br />&#60;script type="text/javascript"&#62;<br />jQuery(document).ready(function(){ <br />&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160; <a href="/blog/&#39;example.php&#39;" target="_blank">url:&#39;example.php&#39;</a>,<br />&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;invid&#39;, index:&#39;invid&#39;, width:100,align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;invdate&#39;, index:&#39;invdate&#39;, width:100,align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;amount&#39;, index:&#39;amount&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;tax&#39;, index:&#39;tax&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;total&#39;, index:&#39;total&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;note&#39;, index:&#39;note&#39;, width:100, sortable:false,align:&#39;center&#39;} <br />&#160;&#160;&#160; ],<br />&#160;&#160; <br />&#160;&#160;&#160; rowNum:4,<br />&#160;&#160; &#160;rowList:[1,2,4],<br />&#160;&#160; &#160;pager: jQuery(&#39;#pager1&#39;),<br />&#160;&#160;&#160; sortname: &#39;invid&#39;,<br />&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; caption: &#39;Test Grid&#39;<br />&#160; }); <br />});</p>
<p>&#60;/script&#62;<br />&#160;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table align=center&#62;<br />&#60;tr&#62;&#60;td&#62;<br />&#60;table&#160; id="list" class="scroll" &#62;&#60;/table&#62; <br />&#60;div id="pager1" class="scroll" style="text-align:center;"&#62;&#60;/div&#62; <br />&#60;/tr&#62;&#60;/td&#62;<br />&#60;/table&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
<p>}</p>
<p>The grid is correctly filled from the Mysql server by the php script but there is a problem with the css .</p>
<p>Please see the inserted image.Every time i try to change the theme only the colors change but the font size type remains the same.Please notice also the page number box from the pager that is displayed wrong.</p>
<p>Why the theme does not apply as is should ?</p>
<p><a href="http://mirku.myphotos.cc/css.jpg"><img src="http://mirku.myphotos.cc/css.jpg" width="100"  style="vertical-align: middle;" class="spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class=" sfmouseother" alt="Image Enlarger" /></a></p></p>
]]></description>
        	        	<pubDate>Wed, 02 Jun 2010 12:23:39 +0300</pubDate>
        </item>
</channel>
</rss>