<?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: Moving the required field span before the label text</title>
		<link>https://legacy.forums.gravityhelp.com/topic/moving-the-required-field-span-before-the-label-text</link>
		<description>Gravity Support Forums Topic: Moving the required field span before the label text</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:44:26 +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/moving-the-required-field-span-before-the-label-text" rel="self" type="application/rss+xml" />

		<item>
			<title>Lea Cohen on "Moving the required field span before the label text"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/moving-the-required-field-span-before-the-label-text#post-44649</link>
			<pubDate>Wed, 21 Dec 2011 06:53:13 +0000</pubDate>
			<dc:creator>Lea Cohen</dc:creator>
			<guid isPermaLink="false">44649@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you, Jay.&#60;br /&#62;
Actually, we decided not to go through with moving the required field, but since you answered, I tried your solutions, but they don't solve my problem.&#60;/p&#62;
&#60;p&#62;My problem arises from the fact that I have given the labels a fixed width, so that all the input fields will begin at the same posuition. Then I alligned the text to the right, as that was the design. Therefore each label's text begins in a different place, and floating or absolutely positioning the &#34;required&#34; span puts them to the left of the width of the label, and that's not good for me.&#60;br /&#62;
Here is a screenshot of &#60;a href=&#34;http://c3.ort.org.il/Apps/Public/getfile.aspx?inline=yes&#38;amp;f=files/ba3c28fc-8c3e-46d9-b4f3-effda4c7e27b/92512b48-c566-4a05-a955-39003e9c4b5d/941ed241-8b15-4c87-8111-980b1fef8e1e/11b68b3e-9c1b-4348-a3bc-a8078b4fe908.png&#34; rel=&#34;nofollow&#34;&#62; what I need to acheive&#60;/a&#62;, and this is a screen shot of &#60;a href=&#34;http://c3.ort.org.il/Apps/Public/getfile.aspx?inline=yes&#38;amp;f=files/ba3c28fc-8c3e-46d9-b4f3-effda4c7e27b/92512b48-c566-4a05-a955-39003e9c4b5d/941ed241-8b15-4c87-8111-980b1fef8e1e/a0c73ba3-443f-4bc1-be31-27a97d12020d.png&#34; rel=&#34;nofollow&#34;&#62;what I can acheive using float or position:absolute&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;You don't have to keep on looking for a solution for this, as as I said before, the design changed and left the asterisk to the right of the field. I'm just gave this description in order to show that there is a case in which CSS alone can't help (or would be very tedious - if I give each specific required span a different left value), and controlling the HTML would be very helpful
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jay on "Moving the required field span before the label text"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/moving-the-required-field-span-before-the-label-text#post-44519</link>
			<pubDate>Tue, 20 Dec 2011 10:15:36 +0000</pubDate>
			<dc:creator>Jay</dc:creator>
			<guid isPermaLink="false">44519@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yet another reason asterisks should be added via html or form name and not embedded into the source code. LIM. In the meantime, something like this should work.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
.gfield label {
text-indent: 1em;
position: relative; /* important */
}
.gfield_required {
float: left;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;- or -&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
.gfield label {
padding-left: 1em;
position: relative; /* important */
}
.gfield_required {
position: absolute;
top: 0;
left: 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;either will work. If you have gf default css enabled, you might have to add !important.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lea Cohen on "Moving the required field span before the label text"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/moving-the-required-field-span-before-the-label-text#post-43898</link>
			<pubDate>Tue, 13 Dec 2011 08:42:33 +0000</pubDate>
			<dc:creator>Lea Cohen</dc:creator>
			<guid isPermaLink="false">43898@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Our design is such that the asterisk should be before the text. I tried to float the span left, but that takes it too far left. Is there a way to affect the HTML of the form?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
