<?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: Margins on input boxes</title>
		<link>https://legacy.forums.gravityhelp.com/topic/margins-on-input-boxes</link>
		<description>Gravity Support Forums Topic: Margins on input boxes</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:26:50 +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/margins-on-input-boxes" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Margins on input boxes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margins-on-input-boxes#post-35209</link>
			<pubDate>Tue, 13 Sep 2011 17:33:01 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35209@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It appears that your styles are being applied in the second page.&#60;/p&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://bit.ly/rlM9ws&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/rlM9ws&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The label width value is being overwritten, but you can be more specific with your CSS rule and that will help override the defaults.&#60;/p&#62;
&#60;p&#62;The form may be inheriting other theme styles that are causing differences. I didn't really look that closely at that.&#60;/p&#62;
&#60;p&#62;Also, a note here. You're using very generic style rules here that are ultimately going to cause you problems down the line. Not all inputs are created equal and I'm sure you're not expecting every radio button, checkbox and image button to all have the same margins as text inputs.&#60;/p&#62;
&#60;p&#62;You're better off to specify the input type in your rule to avoid these pitfalls.. ex.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #left .gform_wrapper input[type=text] {
     margin-left: 50px
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can find out the proper way to target the form fields for CSS manipulation here..&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and here's a couple of good resources that discuss CSS specificity if you're not familiar with it&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://css-tricks.com/855-specifics-on-css-specificity/&#34; rel=&#34;nofollow&#34;&#62;http://css-tricks.com/855-specifics-on-css-specificity/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.htmldog.com/guides/cssadvanced/specificity/&#34; rel=&#34;nofollow&#34;&#62;http://www.htmldog.com/guides/cssadvanced/specificity/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djadejones on "Margins on input boxes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/margins-on-input-boxes#post-35204</link>
			<pubDate>Tue, 13 Sep 2011 16:58:24 +0000</pubDate>
			<dc:creator>djadejones</dc:creator>
			<guid isPermaLink="false">35204@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys&#60;br /&#62;
I am just trying to reduce the size of the gap between my input fields, and in my css I have:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[css]
#left form {
	margin-left: 50px;
 }
#left input {
	margin-right: 20px;
	margin-bottom: 15px;
	padding: 3px;
}
#left label {
	width: 7em;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So I reduced the margin-bottom on the input from 15px to 5px and this has reduced the size on some forms but not others.&#60;br /&#62;
One form it did work on is this one:&#60;br /&#62;
&#60;a href=&#34;http://www.primarycarecommunity.net/newlocum/&#34; rel=&#34;nofollow&#34;&#62;http://www.primarycarecommunity.net/newlocum/&#60;/a&#62;&#60;br /&#62;
but 2 it didn't work on are on this page:&#60;br /&#62;
&#60;a href=&#34;http://www.primarycarecommunity.net/vacancies/&#34; rel=&#34;nofollow&#34;&#62;http://www.primarycarecommunity.net/vacancies/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any help appreciated, thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
