Having an unusual problem: When I access a website on my Android
4.1 phone using the default browser, the background image is not covering the background properly.
Here is a screenshot from my phone:
Snippets of code related to the background attributes:
...
<meta name="viewport" content="width=device-width">
...
background: #fff url('img/main_bg.png')no-repeat center center;
-webkit-background-size: cover !important;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/main_bg.png', sizingMethod='scale')";
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/main_bg.png', sizingMethod='scale')";
Even after trying to set the min-height and width properties to 100%, the issue remains unresolved.
I would appreciate any ideas on how to solve this problem.