1
I have a problem in a div. Her name is
<div id="content-homepage">
It turns out that this div has some contents inside (texts, titles and a button), and when I insert the image through the
#content-homepage {
background-image: url(../img/back.jpg);
height: 100%;
width: 100%;
width: auto;
}
The image doesn’t appear. I wanted it to appear and be on the whole screen. Regardless of the device, that it fits and is on the entire screen.
Gabriel put a value of antura for this div
#content-homepage
guyheight: 50px;
and see if the image appears. Or put a text inside the div to have it in. Another thing, check if the extension of your image is even JPG or if it is PNG or GIF for example– hugocsl
The image really is JPG. I put height and width, and it now appears, but not on the whole screen.
– Gabriel Marinho
Dude I think I understand your problem then. Take a look at the answer there and test there to see if it’s your problem. When it comes to leaving a comment there I’ll give you a boost
– hugocsl