<?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: Float fields (left/right)</title>
		<link>https://legacy.forums.gravityhelp.com/topic/float-fields-leftright</link>
		<description>Gravity Support Forums Topic: Float fields (left/right)</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:23:00 +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/float-fields-leftright" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Float fields (left/right)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/float-fields-leftright#post-6200</link>
			<pubDate>Wed, 09 Jun 2010 09:45:15 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">6200@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wonderful! I'm glad that worked for you. Let us know if you need anything else.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Striker22uk on "Float fields (left/right)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/float-fields-leftright#post-6199</link>
			<pubDate>Wed, 09 Jun 2010 09:42:07 +0000</pubDate>
			<dc:creator>Striker22uk</dc:creator>
			<guid isPermaLink="false">6199@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin,&#60;/p&#62;
&#60;p&#62;Thanks a lot for that, that works exactly as I wanted.&#60;/p&#62;
&#60;p&#62;I had played with absolute positioning but neglected to make the wrapper relative so thanks for pointing that out.  &#60;/p&#62;
&#60;p&#62;I'll get there in the end :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Float fields (left/right)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/float-fields-leftright#post-6188</link>
			<pubDate>Tue, 08 Jun 2010 16:57:56 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">6188@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, I think this is what you're going for. If not, I'm sure you can take what I've done and tweak it to your preference.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/grabs/f8786cfa4cb0c7869a9c11a9cf44d004.png&#34; rel=&#34;nofollow&#34;&#62;Test Screenshot&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So, it's easiest to ditch the float idea, and absolutely position those two fields. Remember, you have to set the wrapper to position:relative for this. (notice, I applied the styles to the containing div and not the form element itself) From there, I just positioned the two containing list items, tweaked the widths, etc. until it looked right.&#60;/p&#62;
&#60;p&#62;So, here's what you do.&#60;/p&#62;
&#60;p&#62;First, enable the default Gravity Forms CSS (make sure the &#34;output CSS&#34; option is set to yes in the GF settings page) or, if you're embedding the form via a function call, you'll need to manually enqueue the scripts by placing a script block in your functions.php file. You can find that information in the documentation on embedding a form.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/embedding-a-form/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/embedding-a-form/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;After you've enabled the GF default CSS, you're good to go with the second part.&#60;/p&#62;
&#60;p&#62;Remove the CSS you already have in place, and replace it with this.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#gform_wrapper_5  { margin:10px 0; border:1px solid #AEAFB2;background:#f2f2f2; position:relative;}
#field_5_3, #field_5_5 {position:absolute;}
#field_5_3 {top:0px; left:275px}
#field_5_5 {top:55px; left:275px;}
#field_5_1, #field_5_2, #field_5_4 {margin-left:10px;}
#input_5_1, #input_5_2, #input_5_3, #input_5_4 {width:240px;}
#input_5_5 {height:100px; width:244px; }
#gform_wrapper_5 .gform_footer input.button {margin-left:15px;}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That should get you rolling.&#60;/p&#62;
&#60;p&#62;If you need additional styling help, the Visual CSS Guide is a good place to get a lay of the land and run from there.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/visual-css-guide/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/visual-css-guide/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Good luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Striker22uk on "Float fields (left/right)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/float-fields-leftright#post-6184</link>
			<pubDate>Tue, 08 Jun 2010 12:05:42 +0000</pubDate>
			<dc:creator>Striker22uk</dc:creator>
			<guid isPermaLink="false">6184@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm having a few issues trying to style a form regarding floats.&#60;/p&#62;
&#60;p&#62;I would like to have the form split into two so that:&#60;/p&#62;
&#60;p&#62;fields 1 2 &#38;amp; 3 are all floated to the left&#60;br /&#62;
whilst 3&#38;amp;4 are floated to the right&#60;/p&#62;
&#60;p&#62;Although I can get field 4 to float right it sits below everything else so I am having to use a negative margin to place this higher.  I cannot get field 3 to position correctly at all.&#60;/p&#62;
&#60;p&#62;Can you provide some pointers on the best approach to take with this.&#60;/p&#62;
&#60;p&#62;The current css as it stands is this:&#60;/p&#62;
&#60;p&#62;#gform_5 {width:560px;border:1px solid #AEAFB2;background:#f2f2f2;}&#60;br /&#62;
li#field_5_3 {float:right;}&#60;br /&#62;
li#field_5_5 {float:right;}&#60;br /&#62;
#input_5_5 {width:300px;height:100px;}&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.twentyeleven.co.uk/website-scrappage-scheme&#34; rel=&#34;nofollow&#34;&#62;http://www.twentyeleven.co.uk/website-scrappage-scheme&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
