<?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 how to style dojo button? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-style-dojo-button/m-p/497422#M46255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone know how to style the dojo button cause i declare the button it appear but i cannot use the style:"border:0px; background-color: black;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is how i declare my dojo button&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var forward = new dijit.form.Button({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;style: "border:0px;background:black;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;label: "NEXT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me with this !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please Reply ASAP!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s if can show me some sample&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2011 23:46:05 GMT</pubDate>
    <dc:creator>Sophialim</dc:creator>
    <dc:date>2011-05-12T23:46:05Z</dc:date>
    <item>
      <title>how to style dojo button?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-style-dojo-button/m-p/497422#M46255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone know how to style the dojo button cause i declare the button it appear but i cannot use the style:"border:0px; background-color: black;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is how i declare my dojo button&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var forward = new dijit.form.Button({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;style: "border:0px;background:black;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;label: "NEXT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me with this !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please Reply ASAP!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s if can show me some sample&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 23:46:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-style-dojo-button/m-p/497422#M46255</guid>
      <dc:creator>Sophialim</dc:creator>
      <dc:date>2011-05-12T23:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to style dojo button?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-style-dojo-button/m-p/497423#M46256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi&lt;BR /&gt;anyone know how to style the dojo button cause i declare the button it appear but i cannot use the style:"border:0px; background-color: black;"&lt;BR /&gt;&lt;BR /&gt;this is how i declare my dojo button&lt;BR /&gt;&lt;BR /&gt;var forward = new dijit.form.Button({&lt;BR /&gt;style: "border:0px;background:black;",&lt;BR /&gt;label: "NEXT"&lt;BR /&gt;&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;Please help me with this !!!&lt;BR /&gt;Please Reply ASAP!!!&lt;BR /&gt;Thanks&lt;BR /&gt;p.s if can show me some sample&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overwrite the root button style specified in .css (claro.css or tundra.css whatever) using dijit.form.Button 's baseClass property. Doing it like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" type="text/css" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.2/js/dojo/dijit/themes/claro/claro.css" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/2.2/js/dojo/dijit/themes/claro/claro.css&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.myDynamicButton { &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: black; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 0px; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/style&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var forward = new dijit.form.Button({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;label: "NEXT",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;baseClass: "myDynamicButton"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what happens is your "myDynamicButton" style class will overwrite "dijitButtonNode" which is default style for dijit.form.Button specified in claro or tundra css file. Hope it will help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 13:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-style-dojo-button/m-p/497423#M46256</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-05-13T13:25:28Z</dc:date>
    </item>
  </channel>
</rss>

