Tuesday, October 19, 2010

[Rails] Render partial generate unwanted spaces

Hello, I have a problem with the render :partial method in all my
rails webapplications. I noticed that using render :partial will
generate spaces (mainly top spaces) on the elements inserted.
As all my websites are seperated by module (basicaly header, content,
menu, footer) it's quite a problem as I have to set negative margin-
top to various parts for the site to display as expected and it's
getting very difficult to obtain a cross-browser homogeneous design.

Anyone as the same problem? Any idea what I am doing wrong here?

Thanks for the help.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate