I simply want to set an image as a background of asp.net page? I can display image in simple format on web page, but can't apply it as background.
+1
A:
set the background image style for the body element:
<body style="background-image:url(bgr.jpg);">
...
</body>
Marwan Aouida
2009-05-20 11:48:52
A:
This is a basic HTML thing, you need to do some CSS for example such as:
<style type="text/css">
body {
background-image: url(background.jpg);
}
</style>
Lloyd
2009-05-20 11:49:45
+4
A:
Use CSS. Add to the theme if you're using one, or a CSS file...
body {
background-image: url(images/image.png);
}
Best practices recommend having this in a separate file, rather than the head of the document - and most certainly not inline.
Raithlin
2009-05-20 11:51:06