0
how to insert a single full image as background for a web page
4 Answers
+ 1
<body background="image.png">
for HTML5 is better to use CSS since this attribute is no more compatible
+ 1
body {
background: #fff url("img.jpg") no-repeat;
}
0
But how to align it. I mean only 1/3rd of picture is shown how can i make the full image to be displayed in the background.
- 1
<style>
body {background-image:url("xxx.png");}
</style>