Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

I am trying to put a border on my list of users

I am using ruby version 1.9.2-p290, rails version 3.0.19, and bootstrap version 2.3.2. In the video "Updating the index page" They put a thin gray line at the bottom of each status listing. They put it in the "statuses.css.scss. I am using a different version of rails so my application doesnt have a "users.css.scss" So my question is where can I put it to display the line between each list item??

1 Answer

Stone Preston
Stone Preston
42,016 Points

ok so your application doesnt have a users.css...but does it have a statuses.css? If so put it there.

You could also put the css in the application.css file. It really doesnt matter which css file it goes in right now, just as long as your view has the appropriate css class added to it.

edit: Ahh I see what you are saying now. You want to put it on the list of users, not the list of statuses.

Well then, you can create your own css file in the stylesheets directory, then include your .user class css code

.user { #code to make little line goes here; }

then in your index view simply add the class to the div that contains each user

this worked thank you=]