467,873 Members | 1,844 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,873 developers. It's quick & easy.

Item for button

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
  • viewed: 1559
Share:
2 Replies
..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
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.

Similar topics

reply views Thread by Sandra | last post: by
4 posts views Thread by juststarter | last post: by
2 posts views Thread by Stephen Plotnick | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.