Stylesheet

index.html.erb:

Add
User

user.css: #user-list .list-title {
color: #244;
font-weight: bold;
font-size: larger;
}

users.html.erb: <%= stylesheet_link_tag ‘scaffold’, ‘user’ %>

My styles don’t seem to be applying, suggestions?

Thanks!

Justin To wrote:

index.html.erb:

Add
User

user.css: #user-list .list-title {
color: #244;
font-weight: bold;
font-size: larger;
}

users.html.erb: <%= stylesheet_link_tag ‘scaffold’, ‘user’ %>

My styles don’t seem to be applying, suggestions?

Thanks!

What happens if you say:

<%= stylesheet_link_tag ‘user’ %>

<%= stylesheet_link_tag ‘scaffold’ %>

?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs