|
Prev: Browser viewing - IE vs everyone else
Next: <span style="display: none;"> not working in a table...
From: jodleren on 7 Jan 2008 07:53 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 7 Jan 2008 08:00 ..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 7 Jan 2008 12:18 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
|
Pages: 1 Prev: Browser viewing - IE vs everyone else Next: <span style="display: none;"> not working in a table... |