Ruby on Rails Thursday, March 2, 2017

don't know why i can't get this image to vertical-align to the top of the div, i'm not sure if i'm passing the class the right way

here's my html
<%= link_to (image_tag("logo.png")), '/' ,  {:class => "logo"} %>

here's my css

.logo {
vertical-align: top;
height: 100%;

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment