Gevorg Sahabalyan Gevorg Sahabalyan - 2 months ago 32
CSS Question

How to add image as background of block

Can someone help me to understand what am i doing wrong? Want to add an image at the top center but it doesn't show anything. Here is a css code.Thank you.

div.header {
background: url(photo/header.png) no-repeat ;
display: block;
width: 1002px;


try changing the path of the image like (../photo/header.png) can u make a folder stucture?. is the html file and photo folder in same folder?