Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What CSS class controls buttons?
#1
I'm trying to change the color of the border on the various input buttons around the forum (such as the "Go" button next to the language selector). After checking the source, I found that the code is:
<input type="submit" class="button" value="Go">

But I can't find a .button class in global.css anywhere.
Reply
#2
There isn't one. It's future-proofed code so that you can create a class for the button if you want to edit it. Just make a button class in global.css.
Reply
#3
(12-20-2009, 01:54 AM)computergeek67 Wrote: There isn't one. It's future-proofed code so that you can create a class for the button if you want to edit it. Just make a button class in global.css.

Oh, okay. Thanks. Smile
Reply
#4
Just use CSS pseudo selectors! Big Grin

input[type="submit"]{}

You know what to do inside the {}. There's another type of button input in MyBB, but I can't remember how it's called.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)