# Form\_remote\_tag display: inline

**URL:** <https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168>\
**Category:** Rails\
**Created:** [February 1, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168 "2007-02-01T23:34:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 1, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168/1 "2007-02-01T23:34:25Z")

</div>

is there a way to have multiple buttons using the form\_remote\_tag to  
appear in line with one another?  
I’m trying to add Ajax to an application where I have three buttons in  
a span, when I changed them from button\_to to form\_remote\_tag i  
haven’t seen a way to get them to appear in line as apposed to one on  
top of the next.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 1, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168/2 "2007-02-01T23:41:26Z")

</div>

Hi Lance,

removed\_email\_address@domain.invalid wrote:

> I’m trying to add Ajax to an application where  
> I have three buttons in a span, when I changed  
> them from button\_to to form\_remote\_tag i  
> haven’t seen a way to get them to appear in line  
> as apposed to one on top of the next.

Put them in individual divs and use CSS to position them.

hth,  
Bill

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 2, 2007, 12:38am UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168/3 "2007-02-02T00:38:34Z")

</div>

thanks, ran with your suggestion and i found this  
:html =\> {:class =\> “button-to”}

an in the css  
.button-to, form div {  
display: inline;  
}

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 2, 2007, 12:42am UTC](https://www.ruby-forum.com/t/form-remote-tag-display-inline/84168/4 "2007-02-02T00:42:34Z")

</div>

You’re a quick study 😉 Congrats!

Bill
