set a background image to a div code example
Example 1: make image background of div
background-image: url("photographer.jpg");
Example 2: how to set div background image
body {
background-image: url("paper.gif");
background-color: #cccccc;
}
background-image: url("photographer.jpg");
body {
background-image: url("paper.gif");
background-color: #cccccc;
}