lance.sanchez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-01 22:33 UTC
form_remote_tag display: inline
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Lance, lance.sanchez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
lance.sanchez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-01 23:38 UTC
Re: form_remote_tag display: inline
thanks, ran with your suggestion and i found this
:html => {:class => "button-to"}
an in the css
.button-to, form div {
display: inline;
}
On Feb 1, 3:39 pm, "Bill Walton"
<bill.wal...-xwVYE8SWAR3R7s880joybQ@public.gmane.org>
wrote:> Hi Lance,
>
> lance.sanc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
You''re a quick study ;-) Congrats! Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---