I'm having a CSS issue where the radio button and label are appearing on different lines if the label spans multiple lines. Here is an example:
() Option A
() Option B
()
Option C is really long so it
will span two lines
() Option D
See how the long lines are breaking after the radio option? The long label-body should span two lines, but it should be inline with the radio option such as:
() Option C is really long so it
will span two lines
Here's my CSS
input[type="radio"] {
display: inline;
margin-bottom: 0px; }
label > .label-body {
display: inline-block;
margin-left: .5rem;
font-weight: normal; }
And finally the HTML
<label>
<input type="radio"> <span class="label-body">Option A</span>
</label>
I can't seem to figure out why this is happening. If it helps, I'm using the Skeleton framework (http://getskeleton.com/).