<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Styling problems with TabContainer in IE - very wide size! in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109245#M10093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;IE is the exception to every rule in web development. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without seeing it, things you could try-&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Setting the width of your tabContainer to 98% (and adding 'margin: 0 auto' or 'margin-left:auto;margin-right:auto' to center it in your contentPane)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;In conjunction with a fixed with on your tabContainer, add a fixed width to your contentPane and see what happens&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 16:44:27 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2013-05-10T16:44:27Z</dc:date>
    <item>
      <title>Styling problems with TabContainer in IE - very wide size!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109244#M10092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a tabContainer within a ContentPane that has two tabs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="listPane" data-dojo-type="dijit.layout.ContentPane"&amp;nbsp; region="center" splitter="false"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="parcelTabContainer" data-dojo-type="dijit.layout.TabContainer" &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="selectedParcelTab" data-dojo-type="dijit.layout.ContentPane"&amp;nbsp; title='Selected Parcel' &amp;gt; &amp;lt;/div&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="gridPane" data-dojo-type="dijit.layout.ContentPane" title='State Owned Parcels' style="selected:'true'" &amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id ="stateOwnListTab" &amp;gt;State Owned Properties&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table id="StateOwnParcelGrid" data-dojo-type="dojox.grid.DataGrid" &amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;thead&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th field="NAME1" width="65%"&amp;gt;Owner&amp;lt;/th&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th field="SITEADDRESS" width="35%"&amp;gt;Site Address&amp;lt;/th&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/thead&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks OK in Firefox, but when I try in IE, the tabs, which really aren't too big from the pane I'm putting then in, aren't drawing the same way.&amp;nbsp; Each tab is the width of the pane and then some, causing the addition of scrollbars, where they shouldn't be needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I examine the tabs in Firebug, I see something called nowrapTabStrip dijitTabContainerTop-tabs It has a width of 50400px!&amp;nbsp; Apparently Firefox is more friendly in it's rendering than IE, so even though I can see this big container highlighted and going off to the right some long amount, the tabs still look OK.&amp;nbsp; IE must not be that friendly and is setting the width as specified. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing some searching around, I see there is an issue somewhere back in the dojo forums that warns about setting your tabContainer to a style of 100% is problematic because it doesn't know "100% of what?".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did have my tabContainer styled as 100%, but when I changed that width to 400px (which should fit nicely), the class nowrapTabStrip dijitTabContainerTop-tabs still thinks it needs to render as 50400px!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else had this happen?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 15:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109244#M10092</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-05-10T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Styling problems with TabContainer in IE - very wide size!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109245#M10093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;IE is the exception to every rule in web development. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without seeing it, things you could try-&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Setting the width of your tabContainer to 98% (and adding 'margin: 0 auto' or 'margin-left:auto;margin-right:auto' to center it in your contentPane)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;In conjunction with a fixed with on your tabContainer, add a fixed width to your contentPane and see what happens&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 16:44:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109245#M10093</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-05-10T16:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Styling problems with TabContainer in IE - very wide size!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109246#M10094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I looked more closely at width that was getting set, it seemed like it was calculated by adding a couple of other widths together.&amp;nbsp;&amp;nbsp;&amp;nbsp; I ended up styling &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;.noWrapTabStrip { width:10px }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to have taken care of my problem, even though it's a screwy solution.&amp;nbsp; I have no option for suggesting people use something other than IE, it's the state standard - I have no idea why!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 17:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/styling-problems-with-tabcontainer-in-ie-very-wide/m-p/109246#M10094</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-05-10T17:21:16Z</dc:date>
    </item>
  </channel>
</rss>

