Jump to content

Custom Styled Form Radio Buttons Not Selectable


svoltmer

Recommended Posts

I have created a form that has several radio button inputs that, using css, I've made larger and easier to select on mobile. When I made it into a 2 column version, the radio buttons are no longer selectable. Could someone look at my code and make a suggestion to fix this?

 

Here is my form:

 

http://www.rose-hulman.edu/forms/Campus%20Visitor%20Information%20Sheet.html

Link to comment
Share on other sites

You have elements using position, and they have higher z-index layering, also the original radio inputs are quarter of the size and positioned top left corner, so you have to increase its size to register a click covering the new area.

input[type="radio"] {
    height: 23px; /*added by dsonesuk */
    opacity: 0;
    position: absolute;
    width: 23px; /*added by dsonesuk */
    z-index: 99999; /*added by dsonesuk */
}

Also you can't have div element inside Paragraph elements.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...