Hi all ! Whenever I call form_for a div with margin:0 and padding:0 is created. Not only that is the default value in my application.css, I have no chance to override this attribute. In my application I display a list of items, using <ul> and <li>. Each li tag contains an form, which should be displayed in one line (as inline element). But I can''t set the div to display:inline. Does anybody know how to solve my problem ? Thank you very much in advance, Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Does nobody have any ideas ? On 22 Aug., 16:17, Christoph <chrisi.dibi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all ! > Whenever I call form_for a div with margin:0 and padding:0 is created. > Not only that is the default value in my application.css, I have no > chance to override this attribute. In my application I display a list > of items, using <ul> and <li>. Each li tag contains an form, which > should be displayed in one line (as inline element). But I can''t set > the div to display:inline. Does anybody know how to solve my problem ? > > Thank you very much in advance, > Christoph--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- Scaffolding: Create, Edit, Destroy in admin area
- Symfony like "forward404"
- undefined method `model_name' for NilClass:Class
- gmaps4rails: undefined method `model_name' for NilClass:Class
- Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param