I am facing some challenges with setting a background image in my asp.net web application.
The issue is that when I set the image to no-repeat, it displays according to its resolution of 640*480 and the rest of the page remains blank.
However, if I don't apply any repeat properties in the css file, the image appears as one and a half images.
I am looking to have the image stretched across the entire screen.
Below is an excerpt from my CSS file:
body {
font-size: .80em;
font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
margin: 0px;
padding: 0px;
color: #696969;
} /*default setting */
<body style="background-image: url(' <%= imgPath %>')" >
</body>
Any suggestions or advice on how to achieve this are greatly appreciated!
Thanks so much!!