I do have Firebug installed, but keep it inactive until occasions like
this arise.  Great idea! Thanks, Colin.

On Mar 17, 10:43 am, Colin Law <clan...@googlemail.com> wrote:
> On 17 March 2010 14:19, RichardOnRails
>
>
>
> <richarddummymailbox58...@uscomputergurus.com> wrote:
> > In app\views\expenses\new.html.erb, I’ve got (just so I know where the
> > stuff on the page came from, for now):
> > <% content_for :sidebar do %>
> >  This is my sidebar stuff from:<br>
> >    new.html.erb<br>
> >    RTS\app\views\expenses
> > <% end %>
>
> > In public\stylesheets\style.css, I’ve got:
> > div#sidebar {
> >   width: 200px;
> >   margin-left: 480px;
> >   background-color: yellow;
> > }
>
> > 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.
>
> Colin

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

Reply via email to