On 17 March 2010 14:43, Colin Law <clanlaw@googlemail.com> wrote:
>> Problem: My page displays the sidebar to the right side as I intend,
>> but:
>> - It displays the sidebar's content as intend ... almost: that is, the
>> text appear centered vertically rather than on top
>> - It continues to have a lily-white background.
>
> This doesn't appear to be a rails issue at all. However, install the
> Firebug pludin for Firefox and then you can inspect the div and see
> what it's style is and where those styles are inherited from.
+1
This is a CSS problem, not Rails [1]. Probably a 'float' or 'display'
property that needs to be tweaked.
[1] Assuming you have "<div id="sidebar"><%= yield :sidebar %></div>"
somewhere in your view...
--
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.
No comments:
Post a Comment