+ Reply to Thread
Results 1 to 2 of 2

Thread: How to style the dijit.form.button ?

  1. #1
    Sophia lim
    Join Date
    Mar 2011
    Posts
    18
    Points
    0
    Answers Provided
    0


    0

    Exclamation How to style the dijit.form.button ?

    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!!!!

  2. #2
    Heming Zhu

    Join Date
    May 2010
    Posts
    514
    Points
    47
    Answers Provided
    7


    0

    Default Re: How to style the dijit.form.button ?

    Quote Originally Posted by cutexxbaby View Post
    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"
    })

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts