CSS : Input -> Submit button
- Started
- Last post
- 8 Responses
- tobor
from an external css file how do I access input buttons, without disturbing the input style.
like???:
input#submit {
crap: here;
}or something like that?
- spiralstarez0
just give whatever ones you want to alter a class like:
.submitStyle {
all o my juicy booty styles in here;
}then in the HTML:
- spiralstarez0
< input type="submit" class="submitStyle"
- tobor0
there's close to 100 pages with submit buttons.
- sparker0
if you're on linux, you can replace those with a regexp via grep or other command line utility.
- gabriel20
technically you can do something like this:
input[type=button] {}or input[type=submit] {}
in your style declarations but it isn't widely supported yet...
- instantok0
http://www.themaninblue.com/writ…
from my experience it is an absolute nightmare trying to style form elements that work similarly in all browsers...the above link doesn't work in safari but the comments may have some advice...tons of results come up if you google it
- sparker0
from a usability stand-point, why not just keep the default browser version?
- spiralstarez0
if you are using dreamweaver, very easy to do a search and replace in your entire site (ctrl+F)
then find:
input type="submit"
replace:
input type="submit" class="submitStyle"
would take only a few minutes...