By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,624 Members | 2,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,624 IT Pros & Developers. It's quick & easy.

Item for button

P: n/a
Hi

Like I can set the style for tables simply using the word table, how
do I affect buttons such as <input type="submit"and just <input
type="button"?

table { font-family : "Helvetica", "Arial", "sans"; }
Jan 7 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
..oO(jodleren)
>Like I can set the style for tables simply using the word table, how
do I affect buttons such as <input type="submit"and just <input
type="button"?
input[type=submit] {...}
input[type=button] {...}

Won't work in IE 6, though. If this "browser" is a requirement, you'd
have to apply classes to the buttons you want to style differently.

Micha
Jan 7 '08 #2

P: n/a
jodleren wrote:
Hi

Like I can set the style for tables simply using the word table, how
do I affect buttons such as <input type="submit"and just <input
type="button"?

table { font-family : "Helvetica", "Arial", "sans"; }
I don't know if that works across all modern browsers. It used to be
(and I still do) you'd have to set a style for th and td. Somebody else
might remember which browser had that quirk.

Jeff
Jan 7 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.