Is there any way to give default css for submit button?
I want to create button having css , background image which repeats and I want that where I use input type submit it will apply automatically without giving me class and this class apply to only submit type buttons not to any input type fields.
Default CSS
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Not cross browser solution by using CSS2 attribute selectors:
Code: Select all
INPUT[type=submit]
{
color: red;
}
There are 10 types of people in this world, those who understand binary and those who don't