Okay, the background attribute of the body tag has been depreciated. How should you include a background image in a web page? And hopefully one that won't tile.
Printable View
Okay, the background attribute of the body tag has been depreciated. How should you include a background image in a web page? And hopefully one that won't tile.
It may have been deprecated but you can still use it.
Chris
It can also be set through a style sheet...
<style>
body {
background-image: url('yourBackground.jpg');
background-repeat: no-repeat;
}
</style>
Chris
or, you could make a big table and set the background of the table, which would then be the background of the whole body since it is so big! :D