From: jodleren on
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"; }
From: Michael Fesser on
..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
From: Jeff on
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