Web Analytics Made Easy -
StatCounter sizing buttons equally - CodingForum

Announcement

Collapse
No announcement yet.

sizing buttons equally

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sizing buttons equally

    http://h1.ripway.com/stirfry/javascr...lorpicker.html

    I have two buttons, one with text +1 and one with text -1. Does anyone know how to make buttons the same width with obviously differently lengthed strings.

    nevermind
    As always, it was simple. when width="" and height="" don't work,
    use style ="width:; height:;"
    Last edited by TinyScript; Apr 15, 2009, 11:15 PM.

  • #2
    Easiest way would be to style your buttons with a monospace font:

    {font-family:"Courier New", Courier, monospace;}

    Comment


    • #3
      this is why it never hurts to ask no matter how simple the question. you just taught me something I had never seen. thanks

      Comment

      Working...
      X