Results 1 to 3 of 3

Thread: Styling Button span

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    24
    Answers
    1

    Default Answered: Styling Button span

    What's the best way to style text in the <span> of a button? I could find the right config element for Button to do it.

    Thanks!

  2. If you set the cls config on the button then in your css you can target a span element under that.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    If you set the cls config on the button then in your css you can target a span element under that.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    24
    Answers
    1

    Default

    Kind of a pain to get enough points for the class to not get overridden, without using the id, but it works. Thanks.

Posting Permissions

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