<body style="background-image: url(background.png);">
Body of page goes here
</body>
The resulting background will repeat, just like backgrounds set with the old bgsrc attribute of body, which is now discouraged in favor of using styles. You can change the repeating behavior using additional styles. For more information, see How do I stop page backgrounds from scrolling or repeating?
Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.
Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!
Follow us on Twitter | Contact Us
Copyright 1994-2012 Boutell.Com, Inc. All Rights Reserved.
