I'm trying to have a background image in the header of my website but as of now it won't show. My file setup is as follows:
D:\ mywebsite
Image, home.css, index.html
Image rocks.jpg
The code I currently have is :
<div class="header-image" style=background-image: url("../Image/rocks.jpg")>
</div>
Edit
CSS:
#header .header-image {
width: 100%;
height: 400px;
background-position: left center;
background-size: 100%;
background-repeat: no-repeat;
}