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.
Any ideas?
Thanks in Advance,
Richard
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.