<?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: CSS for 2 columns - 5 fields in first column, 2 fields in second column</title>
		<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column</link>
		<description>Gravity Support Forums Topic: CSS for 2 columns - 5 fields in first column, 2 fields in second column</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 14:16:20 +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/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-20986</link>
			<pubDate>Mon, 21 Mar 2011 15:13:29 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">20986@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As I mentioned before, the validation errors would be due to incorrect markup in the implementation, not from the default form output.&#60;/p&#62;
&#60;p&#62;In reviewing the validation errors, it is because your markup is incorrect. For example: This is what you have that's not validating&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;legend&#38;gt;Fieldset 1&#38;lt;/legend&#38;gt;&#38;lt;ul&#38;gt;&#38;lt;!-- reopen the list --&#38;gt;&#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You'll notice that you're opening a list and then directly after that, trying to close a list item that was never opened.&#60;/p&#62;
&#60;p&#62;In my example, there are form fields that would go in between there.. list items that open, close, etc. You'll have to just take that as inspiration and make sure the markup is correct for your particular implementation.&#60;/p&#62;
&#60;p&#62;You'll need to tighten up your markup and it should validate just fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>IDS on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-20967</link>
			<pubDate>Mon, 21 Mar 2011 12:49:17 +0000</pubDate>
			<dc:creator>IDS</dc:creator>
			<guid isPermaLink="false">20967@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Kevin for the quick reply.&#60;/p&#62;
&#60;p&#62;I downloaded your test form and put it on my site on this test page:&#60;br /&#62;
&#60;a href=&#34;http://www.sellwithcommvault.com/fieldset-test/&#34; rel=&#34;nofollow&#34;&#62;http://www.sellwithcommvault.com/fieldset-test/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It works great but still doesn't validate:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sellwithcommvault.com%2Ffieldset-test%2F&#38;amp;charset=%28detect+automatically%29&#38;amp;doctype=Inline&#38;amp;group=0&#38;amp;user-agent=W3C_Validator%2F1.2&#34; rel=&#34;nofollow&#34;&#62;http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sellwithcommvault.com%2Ffieldset-test%2F&#38;amp;charset=%28detect+automatically%29&#38;amp;doctype=Inline&#38;amp;group=0&#38;amp;user-agent=W3C_Validator%2F1.2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I will continue to work with it and see if I can get it to validate. In the end it probably isn't the end of the world if we use code that doesn't validate for this project, but again it would be nice if you could wrap the UL tags with elements.&#60;/p&#62;
&#60;p&#62;Please let me know if you have any other ideas.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-20849</link>
			<pubDate>Sat, 19 Mar 2011 10:17:34 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">20849@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@bolt22&#60;/p&#62;
&#60;p&#62;The HTML block is simply another list item in the main form structure with an id and some class names - all perfectly valid markup.&#60;/p&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/9yZs&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9yZs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you've got invalid markup there, it's most likely because the content you've added isn't valid.&#60;/p&#62;
&#60;p&#62;If you want to break up the form and add containers such as fieldsets or other div elements you can take advantage of the inline HTML blocks to do just that. Here's an example of using the HTML blocks to create fieldset groupings in your forms. You could apply the same technique to wrap pieces of the forms in divs as well.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/fieldsets#post-17019&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/fieldsets#post-17019&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>IDS on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-20838</link>
			<pubDate>Fri, 18 Mar 2011 20:40:09 +0000</pubDate>
			<dc:creator>IDS</dc:creator>
			<guid isPermaLink="false">20838@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was looking for the same kind of solution. I have a layout with three columns plus a footer column below. However, when I added the HTML block, it puts out invalid markup. I know this is somewhat a 'code snob' kind of deal, but we do pay attention to this at our firm.&#60;/p&#62;
&#60;p&#62;If the section breaks could be setup as divs or if there was a way to wrap the fields, this would be so easy and so versatile. I guess I am suggesting that this would be an awesome update.&#60;/p&#62;
&#60;p&#62;LOVE Gravity Forms so far... just putting in my two cents.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>illuminea on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-10072</link>
			<pubDate>Sun, 19 Sep 2010 13:17:51 +0000</pubDate>
			<dc:creator>illuminea</dc:creator>
			<guid isPermaLink="false">10072@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wow. Thank you so much!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-10062</link>
			<pubDate>Sun, 19 Sep 2010 10:57:31 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">10062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can do this if you get creative with the inline HTML fields. Basically  you use those to add some additional markup to the form, to close and then reopen the containing UL, add some divs for columns, etc.&#60;/p&#62;
&#60;p&#62;Here's a &#60;a href=&#34;http://grab.by/grabs/b1f555e28040b61f56f33ec822f65ce9.png&#34; rel=&#34;nofollow&#34;&#62;screenshot of my test&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It's easier to see than try to explain all the steps. I exported the test form so you can grab it, import it and see how it's done. You can download the file at the link below then import it in with your forms.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dl.dropbox.com/u/688846/gravityhelp/gravityforms-export-2010-09-19-2-columns.xml&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/688846/gravityhelp/gravityforms-export-2010-09-19-2-columns.xml&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once you've imported your form, you'll need to add the following to your theme style sheet to make the layout work.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;div.gf_form_column_wrapper {overflow:hidden;}
div.gf_form_column1, div.gf_form_column2 {padding:10px; border:1px solid #ccc; background:#eee;}
div.gf_form_column1 {width:35%; float:left;}
div.gf_form_column2 {margin-left:40%;}
div.gf_form_column1 input, div.gf_form_column1 select, div.gf_form_column1 textarea, div.gf_form_column2 input, div.gf_form_column2 select, div.gf_form_column2 textarea {width:95%!important}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That should get you 90% of the way there, you'll most likely want to tweak styles to suit your preference. Hope that helps out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>illuminea on "CSS for 2 columns - 5 fields in first column, 2 fields in second column"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-for-2-columns-5-fields-in-first-column-2-fields-in-second-column#post-10058</link>
			<pubDate>Sun, 19 Sep 2010 09:01:51 +0000</pubDate>
			<dc:creator>illuminea</dc:creator>
			<guid isPermaLink="false">10058@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I would like to create a form like seen here: &#60;a href=&#34;http://womenofthewall.org.il/solidarity/take-a-stand&#34; rel=&#34;nofollow&#34;&#62;http://womenofthewall.org.il/solidarity/take-a-stand&#60;/a&#62; where you have 5 or more fields wrapped in a div in the left column, and 2 fields wrapped in a div in the right column. I read through the forum and understand how to get fields to float next to each, but I want 2 vertical columns. Looking forward to your response.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
