<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Appnitro Software Forums Topic: How do I get fields on the same line?</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: How do I get fields on the same line?</description>
<language>en</language>
<pubDate>Thu, 20 Nov 2008 21:27:40 +0000</pubDate>

<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3465</link>
<pubDate>Thu, 30 Oct 2008 10:58:43 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3465@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Right click on your form and then choose &#34;View Source&#34;. That would show you your HTML source.
&#60;/p&#62;</description>
</item>
<item>
<title>toltnews on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3437</link>
<pubDate>Wed, 29 Oct 2008 07:05:21 +0000</pubDate>
<dc:creator>toltnews</dc:creator>
<guid isPermaLink="false">3437@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I've read through all the answers to this question and I have no idea where I find the PHP with the li info. I've looked at the html code, I've opened the CSS file, but I still cannot find where to change what. I see Susane put together a great order of sequence, but I'm already lost at step 2. any instructions for dummies?
&#60;/p&#62;</description>
</item>
<item>
<title>bbijou on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3420</link>
<pubDate>Mon, 27 Oct 2008 23:32:34 +0000</pubDate>
<dc:creator>bbijou</dc:creator>
<guid isPermaLink="false">3420@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;When I log into the MachForm admin on my site, on the CSS tab, the field is not populated. I read thru the other posts on the and saw that the PHP is in safe mode? How do I turn that off so I can modify the CSS?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3355</link>
<pubDate>Mon, 20 Oct 2008 09:37:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3355@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;susane, that's awesome!
&#60;/p&#62;</description>
</item>
<item>
<title>susane on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3350</link>
<pubDate>Mon, 20 Oct 2008 00:13:06 +0000</pubDate>
<dc:creator>susane</dc:creator>
<guid isPermaLink="false">3350@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Thanks for the explanations.  It took me almost an hour to figure out how to put one field next to another, so I thought I'd share what I learned.  The reason it took me a while, is that the instructions and explanations were scattered throughout this thread.  I'm going to try to put it all in one place.&#60;/p&#62;
&#60;p&#62;This old post by Yunair was the most helpful, but there were some key elements missing that are helpful (which I'll explain below).&#60;br /&#62;
________________&#60;br /&#62;
This is Yunair's old post:&#60;/p&#62;
&#60;p&#62;To do this, you will need to add some custom CSS into your CSS file.&#60;br /&#62;
Okay, let's take a sample.&#60;/p&#62;
&#60;p&#62;Here's our first form: Original Form&#60;br /&#62;
Now, let say we want to have Phone field sit next to Email field, like this one: Final Form&#60;/p&#62;
&#60;p&#62;What we need to do is look in the HTML code and find the&#60;/p&#62;
&#60;li&#62; elements surrounding those fields (Phone and Email).&#60;br /&#62;
Inside that element is an id value. For example Email might have li_2 and the Phone field would have li_3.&#60;/p&#62;
&#60;p&#62;With those id values, you can use the following CSS to target and float the fields next to each other:&#60;/p&#62;
&#60;p&#62;#li_2{&#60;br /&#62;
	float: left;&#60;br /&#62;
	width: 35%;&#60;br /&#62;
	clear: both;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;#li_3{&#60;br /&#62;
	width: 55%;&#60;br /&#62;
	float: left;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;#li_4{&#60;br /&#62;
	clear: both;&#60;br /&#62;
}&#60;br /&#62;
#li_4 is the next element after the aligned fields. We need to add this to reset the alignment.&#60;/p&#62;
&#60;p&#62;Copy that code into your CSS file and save it. (Click Edit CSS from your Admin panel)&#60;/p&#62;
&#60;p&#62;Refresh your form and those fields should have the new alignment.&#60;/p&#62;
&#60;p&#62;I realized this is quite some work, so if you need any help, just post it here and I'll try to help.&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;My additions:&#60;/p&#62;
&#60;p&#62;1) Find the line numbers that are to be combined&#60;br /&#62;
What I learned is that, in order to figure out which line numbers (#li_) are being referred to, you must view your finished form and right click on it and choose &#34;view source&#34; - to view the source code.  Do a find for key text in the lines you are interested in combining.  For example, if you are looking for the email line, find the word email.  Look there, and you will see the line numbers associated with the field.  Use this information for the new code.    &#60;/p&#62;
&#60;p&#62;2) Insert the new code at the end of the CSS file   &#60;/p&#62;
&#60;p&#62;3) Make sure the width of the total number of lines that you are combining do not add up to more than 100%.  If they do, adjust accordingly.&#60;/p&#62;
&#60;p&#62;4) Empty your cache&#60;/p&#62;
&#60;p&#62;5) Refresh your online form.  The lines should have been combined onto one line.&#60;/p&#62;
&#60;p&#62;I hope this helps someone.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3310</link>
<pubDate>Thu, 16 Oct 2008 12:34:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3310@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;topdizzle,&#60;/p&#62;
&#60;p&#62;Ok, make sure to remove all CSS code which might affect the &#34;Income&#34; fields.&#60;br /&#62;
Then try this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Below is your Income - Monthly fields */
#li_52,#li_51,#li_55,#li_59,#li_57,#li_61{
	float: left;
	width: 35%;
	clear: both;
}

/* Below is your Income - Annual fields */
#li_50,#li_53,#li_54,#li_58,#li_56,#li_60{
	width: 55%;
	float: left;
}

#li_75{
   clear: both;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>toppdizzle on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3301</link>
<pubDate>Tue, 14 Oct 2008 20:42:02 +0000</pubDate>
<dc:creator>toppdizzle</dc:creator>
<guid isPermaLink="false">3301@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Here is the form:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://meadowlark.org.s44555.gridserver.com/redesign/machform/view.php?id=4&#34; rel=&#34;nofollow&#34;&#62;http://meadowlark.org.s44555.gridserver.com/redesign/machform/view.php?id=4&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;My issue is mainly towards the bottom where the income values are concerned. There will be one income category but it will need two values; monthly and annually. I would like these to be on the same line. I would like to think that seeing this exemplified would help me figure this out down the road. I tried making this mod using the list values used in the demo code when this post was originally started, but it doesn't solve me problem
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3297</link>
<pubDate>Tue, 14 Oct 2008 15:28:34 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3297@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;@icore&#60;/p&#62;
&#60;p&#62;the width or the height?&#60;/p&#62;
&#60;p&#62;@topdizzle&#60;/p&#62;
&#60;p&#62;post me an URL and I'll see what might wrong.
&#60;/p&#62;</description>
</item>
<item>
<title>toppdizzle on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3290</link>
<pubDate>Tue, 14 Oct 2008 08:33:54 +0000</pubDate>
<dc:creator>toppdizzle</dc:creator>
<guid isPermaLink="false">3290@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Despite the amount of content posted on this thread, I cannot get this functionality on any field type other than radio buttons. You have your cape ready?
&#60;/p&#62;</description>
</item>
<item>
<title>icore on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3279</link>
<pubDate>Sat, 11 Oct 2008 01:06:21 +0000</pubDate>
<dc:creator>icore</dc:creator>
<guid isPermaLink="false">3279@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;How can I adjust the highlight area for the Phone field?
&#60;/p&#62;</description>
</item>
<item>
<title>Carlos on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3273</link>
<pubDate>Thu, 09 Oct 2008 13:04:30 +0000</pubDate>
<dc:creator>Carlos</dc:creator>
<guid isPermaLink="false">3273@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I have worked it out.&#60;/p&#62;
&#60;p&#62;When the size was medium the highlighted area stayed large.&#60;br /&#62;
So set the size to large and it looks OK.&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
Carlos
&#60;/p&#62;</description>
</item>
<item>
<title>Carlos on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3272</link>
<pubDate>Thu, 09 Oct 2008 12:30:22 +0000</pubDate>
<dc:creator>Carlos</dc:creator>
<guid isPermaLink="false">3272@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I have tried to get this to work but to no avail.&#60;br /&#62;
The site is &#60;a href=&#34;http://www.sydneydistrict4x4.com.au/form.html&#34; rel=&#34;nofollow&#34;&#62;http://www.sydneydistrict4x4.com.au/form.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I want the type of point earned and point value to be on the same line.&#60;br /&#62;
I have added the code to the bottom of the view.css but it still stays the same.&#60;br /&#62;
I have refreshed the cache etc&#60;/p&#62;
&#60;p&#62;any help would be great&#60;br /&#62;
Carlos&#60;/p&#62;
&#60;p&#62;I managed to get them to move but the hint yellow area is eating up too much room and has moved the boxes around.&#60;br /&#62;
I am sure I am missing a bit of CSS to make it look correct.
&#60;/p&#62;</description>
</item>
<item>
<title>franki on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/3#post-3264</link>
<pubDate>Thu, 09 Oct 2008 01:09:44 +0000</pubDate>
<dc:creator>franki</dc:creator>
<guid isPermaLink="false">3264@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Excellent support. THANK YOU.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3253</link>
<pubDate>Wed, 08 Oct 2008 12:56:23 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3253@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Ahh.. great. That one is quite simple actually.&#60;br /&#62;
Here is the CSS code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_2 label.description{
	width: 40%; float: left;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just change &#34;li_2&#34; with your own id.
&#60;/p&#62;</description>
</item>
<item>
<title>franki on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3251</link>
<pubDate>Wed, 08 Oct 2008 10:31:29 +0000</pubDate>
<dc:creator>franki</dc:creator>
<guid isPermaLink="false">3251@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Exactly right, yes. That's what I need right there.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3224</link>
<pubDate>Mon, 06 Oct 2008 12:48:41 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3224@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Oh.. do you mean like this:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forms/view.php?id=20&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forms/view.php?id=20&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;No?
&#60;/p&#62;</description>
</item>
<item>
<title>franki on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3209</link>
<pubDate>Sat, 04 Oct 2008 19:15:42 +0000</pubDate>
<dc:creator>franki</dc:creator>
<guid isPermaLink="false">3209@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Well sort of. I was looking to have the radios over to the right rather than below the field label. &#60;/p&#62;
&#60;p&#62;Thank you for your quick reply.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3205</link>
<pubDate>Sat, 04 Oct 2008 13:35:21 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3205@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;you might want to check this:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forums/topic/radio-buttons-on-same-line?replies=7#post-329&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/radio-buttons-on-same-line?replies=7#post-329&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;is that what you need?
&#60;/p&#62;</description>
</item>
<item>
<title>franki on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-3204</link>
<pubDate>Sat, 04 Oct 2008 12:37:37 +0000</pubDate>
<dc:creator>franki</dc:creator>
<guid isPermaLink="false">3204@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I'd like to jump in here and ask yuniar the css king :) how do I get the radios to go to the right of the label instead of underneath it? I have some Yes/No questions on my form and I think it would look much better if If I can get them to be stacked vertically to the right. If I can get the solution I'll be a very happy man! Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>melanieme on "How do I get fields on the same line?"</title>
<link>http://www.appnitro.com/forums/topic/how-do-i-get-fields-on-the-same-line/page/2#post-2805</link>
<pubDate>Sat, 30 Aug 2008 01:03:18 +0000</pubDate>
<dc:creator>melanieme</dc:creator>
<guid isPermaLink="false">2805@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;And notice that some form elements are already side by side, such as the city and state in the address fields.  The css that controls this is:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#main_body form li div.left {
	display:inline;
	float:left;
	width:48%;
}
#main_body form li div.right {
	display:inline;
	float:right;
	width:48%;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could easily adapt this css for the #li_number example given above.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
