Results 1 to 4 of 4

Thread: Changing the style of an input button

  1. #1

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    Changing the style of an input button

    I want to globally change the style of any submit button. I am doing something like this but it's not working:
    Code:
    input.submit { };
    Baaaaaaaaah

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Code:
    input[type="submit"] { ... }
    is the proper way to do it. IE doesn't support CSS well enough to handle this though.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Thanks, but as you mentioned, it doesn't work in IE (and it didn't).
    I guess I'll have to do manual colouring inside the <input> tag.
    Baaaaaaaaah

  4. #4
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    why don't you just make a class?

    .box {...}

    <input type=submit class=box>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width