MyBB Community Forums

Full Version: What CSS class controls buttons?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
(2009-12-20, 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
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.