I've exhausted all my options in attempting to make a background image work, but unfortunately, have not been successful.
- Currently using the latest versions of Windows and IE.
- The background image works perfectly on the server side.
Is there anyone who can provide an example?
Side note: The img
tag within the body displays the image without any issues.
I also attempted to use background:url...
<!DOCTYPE html>
<html>
<head>
<style>
html { height:100%; width:100%;
background-image:url("file://C:\Users\Public\Pictures\Sample Pictures\florida-orlando-resort.jpg");
}
</style>
</head>
<body>
123...<img src="C:\Users\Public\Pictures\Sample Pictures\florida-orlando-resort.jpg"
style="width:100px; height:100px; display:cover;">...456
</body>
</html>