Results 1 to 3 of 3

Thread: [RESOLVED] Modifying Radio Button

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,711

    Resolved [RESOLVED] Modifying Radio Button

    I'm trying to use this CSSDecl but I'm trying to edit it a little bit to make it more personal to me. Whenever I try to edit it, the radiobuttons all appear as though they're checked. Here is my attempt at it. Why is mine not working as expected?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: Modifying Radio Button

    https://jsfiddle.net/5ysmnnxj/1/

    You missed the <div> elements surrounding each pair of <input> and <label>. That is for the CSS sibling selectors to work properly. Otherwise you'd be selecting multiple siblings when you only want one.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  3. #3

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,711

    Re: Modifying Radio Button

    Oh ok. Thank you!
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

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