I'm fairly new to development and have been focusing a lot of time on a web project in Ruby on Rails. I'm having some problems with my application.css
file.
As I understand it, this file will be used to apply the basic layout to all my views. So, I would like to add my website logo to the top left of the page.I currently have the image stored in my public
folder while my application.css
file is located in /app/assets/stylesheets
folder. I've tried numerous ways to get this to work with no success.
Here's what I have in the .css
file:
body {
background-color: #000000;
background-image: url("../public/tpllogo.png");
background-repeat: no-repeat;
background-position: left top;
font-family: 'Courier New', courier, monospace;
}
All other changes I have made to this css test fine (with some minor issues of updating after changes).