In the forms I create, the spacing of the radio buttons is always really wide. When I change it to the proper width, the text fields change too. Due to my woeful knowledge of CSS, I don’t understand what part of this code applies only to the radio buttons, if any (pasted from Firebug):
The bold 45% is what I was fiddling with. If I change it to 5%, the button spacing looks good, but the text fields shorten too. How can I change one independent of the other?
I wonder if I could prevail upon you with one more question. How do I get the radio buttons to stack vertically? I’m using the Contact Form 7 plugin, which is putting them all on one line, like this, so I can’t insert paragraphs between standard pitch and barn: [radio RoofStyle “Standard pitch” “Barn”]
We’d need to see the html to say how it should be done semantically but you could just set the radio to display:block and then it will create a new line.
Are you sure you shouldn’t be using labels rather than paragraphs if the text refers to the radio button?
Thanks! display:block did help except it stacked the text too. Which is probably why you’re mentioning labels. I’m not clear on labels vs. regular text in a form. I’m going to look into that next. You may hear from me again.