Search code examples
jquery-ui-button

whats the default padding for a jquery button?


whats the default padding for a jquery button? tried to download and search the dev pack... :( did not fint it :(


Solution

  • From the stylesheet:

    .ui-button-text-only .ui-button-text {
      padding: .4em 1em;
    }
    

    As one of the commenters mentioned, it's very easy to find this out by using the firefox plugin firebug, or by using the web inspector in Safari/Chrome