Friday, March 22, 2013

[Rails] How to display div inline?

Ok, I have some div element, which should be displayed inline after AJAX call and should replace other element.
Without display:inline it works, new element is on new line, and looks like it supposed to be.
But when I add display:inline to styling, Ajax call just hides element but renders nothing.
If I add display:inline-block than all element change their size with each new, which I completely don't like.
Any ideas how to fix that?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hMv1IJ3UZh8J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate