HighDots Forums  

Item for button

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Item for button in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jodleren
 
Posts: n/a

Default Item for button - 01-07-2008 , 06:53 AM






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"; }

Reply With Quote
  #2  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Item for button - 01-07-2008 , 07:00 AM






..oO(jodleren)

Quote:
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


Reply With Quote
  #3  
Old   
Jeff
 
Posts: n/a

Default Re: Item for button - 01-07-2008 , 11:18 AM



jodleren wrote:
Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.