I want to hide last divider between comments using css. Code is below.\[code\]<div id="question_comments" class="comments_container"> <div class="comment"> <div class="comment_details"> <div> <p>Comment1</p> </div> </div> </div> <div class="hr-comment"></div> <div class="comment"> <div class="comment_details"> <div> <p>Comment2</p> </div> </div> </div> <div class="hr-comment"></div> <div id="question_comment"> <form> ... </form> </div> <div class="clear"></div></div>\[/code\]I am generating that in rails view:\[code\]<div id="question_comments" class="comments_container"> <% @question.comments.order("created_at ASC").each do |comment| %> <%= render artial => "questions/comment", :locals => { :comment => comment } %> <div class="hr-comment"></div> <% end %> <%= render artial => 'new_comment', :locals => {:targit => @question, :answer => nil} %> <div class="clear"></div></div>\[/code\]I tried that:\[code\]div.hr-comment { background:url(hr-background.gif) repeat-x;width:100%;height:2px;margin-top:7px;margin-bottom:7px;width:310px;}.hr-comment:last-child { display: none }\[/code\]Goal is how to do that without using ruby in view.