Good Day All
i have a page, i am it is getting the background from an image.
<html>
<head>
<style>
img.bg {
/* Set rules to fill background */
min-height: 100%;
min-width: 1024px;
/* Set up proportionate scaling */
width: 100%;
height: auto;
/* Set up positioning */
position: fixed;
top: 0;
left: 0;
}
@media screen and (max-width: 1024px) { /* Specific to this particular image */
img.bg {
left: 50%;
margin-left: -512px; /* 50% */
}
}
#page-wrap
{
position: relative;
width: 400px;
margin: 50px auto;
padding: 20px;
background: white;
-moz-box-shadow: 0 0 20px black;
-webkit-box-shadow: 0 0 20px black;
box-shadow: 0 0 20px black;
}
p
{
font: 15px/2 Georgia, Serif;
margin: 0 0 30px 0;
text-indent: 40px;
}
</style>
</head>
<body>
<img src="http://196.41.221.20:8095/EcashPos/images/MainBackground.jpg" class="bg">
</body>
</html>
in Firefox this is fine, but in IE it only fills a portion of the page. i have attached the example document, or you can use this one.
i am using IE9
Thanks
Thank you for posting at Dotnetfunda
[Administrator]