Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Johannesburg, South Africa
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    coloring a radio button

    Hi all

    I'd like to manipulate the look of a radio button using a style sheet.

    I know that I can edit the background-color, but would like to know if its possible to edit the other elements of the button? Ie., the border, inner-background and black dot which appears on selection?

    Thanks for your help!

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    aside from background-color, i only know these...

    style="border:4px outset silver;height:50px;width:50px"

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    width and height work fine...

    I'm really not sure that you can manipulate the innercolour or dot colour of a radio button (or checkbox)

    If you see this anywhere on the web, view the source code and see how they do it... then post the URL here so we can see it


    ~Quack

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i think you can d it for a checkbox but not a radio
    photoshop too expensive? use the GIMP! www.gimp.org

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    USA

  • #6
    New Coder
    Join Date
    Jun 2002
    Location
    Paris, France
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Good idea but it would be a bit complicated to use that in a form to pass some info though...
    I don't suffer from insanity, I enjoy every single minute of it!

  • #7
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    You can do it in Gecko-based browsers, but not IE. Take a look at some of the CSS examples in the Debug menu to see what I'm talking about.

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts
    USA


  •  

    Posting Permissions

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