1 Reply Latest reply on May 4, 2011 5:29 AM by hzhu

    How to style the dijit.form.button ?

    cutexxbaby
      hihi
      i am currently doing a project and meet this problem is How to style the dijit.form.button ?
      i programmatic the button and i try to style in this function, but the button did not change the background color to transparent and the border i put 0px it also did not make changes to it
      so i was wondering how should i do??
      var linkNote = new dijit.form.Button({
           label: "Grab me!!"
          
           })
      thanks...reply asap!!!!
        • Re: How to style the dijit.form.button ?
          hzhu
          hihi
          i am currently doing a project and meet this problem is How to style the dijit.form.button ?
          i programmatic the button and i try to style in this function, but the button did not change the background color to transparent and the border i put 0px it also did not make changes to it
          so i was wondering how should i do??
          var linkNote = new dijit.form.Button({
               label: "Grab me!!"
              
               })
          thanks...reply asap!!!!


          Do you use something like this?:

          linkNote = new dijit.form.Button({
               label: "Grab me!!",
               style: "background-color:Transparent; border:0px"
               })