After spending time with HTML and CSS coding, I successfully managed to implement a background image that covers the entire page with just CSS. Even when zooming in or out, the image remains intact on the screen. However, this solution seems to only be compatible with Chrome as the picture fails to appear when accessing the page with Firefox or IE.
Below is the CSS code I used:
body {
background-image: url(/img/18A_0159.JPG);
background-size: cover;
}
I've experimented with other solutions like directly embedding the image in the HTML part of the CSS file, but the issue persists across different browsers. I've even scoured various forums for answers, but it appears the information may be outdated.
Since I'm new to coding, any suggestions or advice would be greatly appreciated! Perhaps there's a better approach utilizing HTML and CSS?