As I dive into the world of website creation, I've encountered a challenge that has me stumped. My goal is to have a banner displayed at the top of each webpage on my site, and I'm unsure if this can be achieved using CSS. While I've successfully set a background image in my CSS file, I'm struggling to properly insert a picture at the top. Here's a snippet of my code:
hr {color:sienna;}
p {margin-left:20px;}
body {
background-image:url("pic2.png");
}
To apply it onto every page, I would reference the CSS file like so (assuming the file name is style.css):
<link rel="stylesheet" type="text/css" href="style.css">