<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: label, radio button on same line, and radio buttons lined up</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: label, radio button on same line, and radio buttons lined up</description>
<language>en</language>
<pubDate>Mon, 11 May 2026 15:46:14 +0000</pubDate>

<item>
<title>cheryledwards on "label, radio button on same line, and radio buttons lined up"</title>
<link>https://www.machform.com/forums/topic/label-radio-button-on-same-line-and-radio-buttons-lined-up#post-12859</link>
<pubDate>Thu, 03 Nov 2011 04:13:49 +0000</pubDate>
<dc:creator>cheryledwards</dc:creator>
<guid isPermaLink="false">12859@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you Christopher.  That helped with aligning the radio buttons, but I also wanted the radio buttons aligned with the label.  The following is the additional solution kindly provided by Appnitro, which works excellently!&#60;/p&#62;
&#60;p&#62;To make the form field label on the same line with the options. Search for this code :&#60;/p&#62;
&#60;p&#62;label.description {&#60;br /&#62;
    border: medium none;&#60;br /&#62;
    color: #222222;&#60;br /&#62;
    display: block;&#60;br /&#62;
    font-size: 95%;&#60;br /&#62;
    font-weight: 700;&#60;br /&#62;
    line-height: 150%;&#60;br /&#62;
    padding: 0 0 1px;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;and change it to &#60;/p&#62;
&#60;p&#62;label.description {&#60;br /&#62;
    border: medium none;&#60;br /&#62;
    color: #222222;&#60;br /&#62;
    display: block;&#60;br /&#62;
    font-size: 95%;&#60;br /&#62;
    font-weight: 700;&#60;br /&#62;
    line-height: 150%;&#60;br /&#62;
    padding: 0 0 1px;&#60;br /&#62;
    float: left;&#60;br /&#62;
    width:80%;&#60;br /&#62;
}
&#60;/p&#62;</description>
</item>
<item>
<title>christopherbrooks on "label, radio button on same line, and radio buttons lined up"</title>
<link>https://www.machform.com/forums/topic/label-radio-button-on-same-line-and-radio-buttons-lined-up#post-12854</link>
<pubDate>Tue, 01 Nov 2011 22:56:47 +0000</pubDate>
<dc:creator>christopherbrooks</dc:creator>
<guid isPermaLink="false">12854@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I followed this with no problem, taken from the other post:&#60;/p&#62;
&#60;p&#62;For radio buttons/checkboxes, we need a different method.&#60;br /&#62;
Take a look at this sample &#60;a href=&#34;http://www.appnitro.com/forms/view.php?id=7&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forms/view.php?id=7&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can see the custom CSS at the bottom of this file:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forms/data/form_7/css/view.css&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forms/data/form_7/css/view.css&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So basically what we need to do is to set the display property of those labels, checkboxes and radio button to inline.&#60;/p&#62;
&#60;p&#62;On the sample form above, if you look at the HTML code, Multiple Choice is surrounded by a li with id li_1, the CSS for this element:&#60;/p&#62;
&#60;p&#62;#li_1 label.choice {&#60;br /&#62;
	display:inline;&#60;br /&#62;
	position:relative;&#60;br /&#62;
	margin-left: 0.2em;&#60;br /&#62;
	_top:0.2em;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;#li_1 input.radio {&#60;br /&#62;
	display: inline;&#60;br /&#62;
	margin-left: 0.5em;&#60;br /&#62;
}&#60;br /&#62;
While the Checkboxes fields are surrounded by a li with id li_2, the CSS is:&#60;/p&#62;
&#60;p&#62;#li_2 label.choice {&#60;br /&#62;
	display:inline;&#60;br /&#62;
	position:relative;&#60;br /&#62;
	margin-left: 0.2em;&#60;br /&#62;
	_top:0.2em;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;#li_2 input.checkbox{&#60;br /&#62;
	display: inline;&#60;br /&#62;
	margin-left: 0.5em;&#60;br /&#62;
}&#60;br /&#62;
So you can use the above CSS for your form, one for the checkboxes and the other for multiple choice. Adjust li_1 and li_2 to match your elements id.
&#60;/p&#62;</description>
</item>
<item>
<title>cheryledwards on "label, radio button on same line, and radio buttons lined up"</title>
<link>https://www.machform.com/forums/topic/label-radio-button-on-same-line-and-radio-buttons-lined-up#post-12850</link>
<pubDate>Tue, 01 Nov 2011 01:38:25 +0000</pubDate>
<dc:creator>cheryledwards</dc:creator>
<guid isPermaLink="false">12850@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I know there has been a lot about this topic but because some responses are so long it gets very confusing, particularly when it doesn't work out.  May I please have a &#34;fresh&#34; response to my question:&#60;/p&#62;
&#60;p&#62;I would like all radio buttons on my form to be on the same line as the label, and I would like all the radio buttons lined up for all the questions on the form.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
