<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: margin probs using jquery ui buttons with inline radio buttons</title>
		<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons</link>
		<description>Gravity Support Forums Topic: margin probs using jquery ui buttons with inline radio buttons</description>
		<language>en-US</language>
		<pubDate>Fri, 17 Apr 2026 01:22:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31408</link>
			<pubDate>Tue, 02 Aug 2011 08:42:16 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Great. Thanks for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31406</link>
			<pubDate>Tue, 02 Aug 2011 08:40:33 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">31406@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Kevin, that's sorted it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31401</link>
			<pubDate>Tue, 02 Aug 2011 08:29:41 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, I never said the problem was with the jQuery UI CSS. The CSS rule I gave you previously is being applied properly even without the !important declaration - I can see that in the inspector. The problem is that you've applied the &#34;gf_list_inline&#34; Ready Class as well and it's adding a left margin to the containing list item now. You'll have to add that to your rule to defeat the margin in this case. Replace the previous CSS snippet with this one and it should do the trick.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #gform_wrapper_8 ul#gform_fields_8 li.gfield div.ginput_container ul#input_8_5.gfield_radio li,
body #gform_wrapper_8 ul#gform_fields_8 li.gfield div.ginput_container ul#input_8_5.gfield_radio li label {
    margin: 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://bit.ly/njiy2t&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/njiy2t&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you'll notice, that rule is specific to only one radio button list based on the parent UL ID. This was intentional so the styles wouldn't conflict with any other normal radio lists you may have. If you want to apply this same CSS to multiple instances of a radio list, I would suggest using a custom CSS class name added to each field. In this example, I used &#34;fancyradio&#34; but you can change it to whatever you prefer.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper ul.gform_fields li.gfield.fancyradio div.ginput_container ul.gfield_radio li,
body .gform_wrapper ul.gform_fields li.gfield.fancyradio div.ginput_container ul.gfield_radio li label {
    margin: 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once you've added that snippet to your CSS file you should be able to add &#34;fancyradio&#34; as the CSS Class name for any radio field and have the rule applied.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31397</link>
			<pubDate>Tue, 02 Aug 2011 06:46:00 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">31397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As a test I have added a second multiple choice field made it a jquery button set but haven't applied the css you suggested, the result is that the gap is much larger than on the original, so the css you suggested to 0 the margin is working but there is another element that is still adding a margin or padding between the buttons.&#60;/p&#62;
&#60;p&#62;I don't think the problem is coming from the jquery ui css because I use the same file to style the buttons on the original form and they don't have the gaps between the buttons.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31394</link>
			<pubDate>Tue, 02 Aug 2011 02:47:09 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">31394@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Kevin,&#60;/p&#62;
&#60;p&#62;I have added that css but no luck, I even tried adding !important after the 0 but still no luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31358</link>
			<pubDate>Mon, 01 Aug 2011 16:47:03 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31358@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The margin you're seeing is on the label and not the list item. You can try this instead. It removes the left margin from the labels on those fields.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #gform_wrapper_8 ul#gform_fields_8 li.gfield div.ginput_container ul#input_8_5.gfield_radio li label {
    margin: 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://bit.ly/q7esBv&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/q7esBv&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "margin probs using jquery ui buttons with inline radio buttons"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margin-probs-using-jquery-ui-buttons-with-inline-radio-buttons#post-31350</link>
			<pubDate>Mon, 01 Aug 2011 15:45:04 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">31350@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have added a multiple choice field and set the css to gf_list_inline on a test form I have setup &#60;a href=&#34;http://www.eandhbaxendale.com/test-2/&#34; rel=&#34;nofollow&#34;&#62;http://www.eandhbaxendale.com/test-2/&#60;/a&#62;&#60;br /&#62;
I have added the jquery ui script and css to turn the multiple choice field into a jquery radio button set.  The only problem is there are large gaps between the buttons, I am looking to kill the gaps altogether.&#60;/p&#62;
&#60;p&#62;I have tried adding &#60;code&#62;.gform_wrapper li.gf_list_inline ul.gfield_radio li {margin:0 0 0 0}&#60;/code&#62; with no luck.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
