Select to view content in your preferred language

How to style the dijit.form.button ?

1006
1
05-03-2011 11:24 PM
Sophialim
Emerging Contributor
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!!!!
0 Kudos
1 Reply
HemingZhu
Frequent Contributor
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"
     })
0 Kudos