Click to See Complete Forum and Search --> : Html Background Help


JEDIKNIGHT
02-20-2004, 03:13 PM
How do you have a background with the text over it and all, and have the background fixed with the text scrolling over the background while the background dosen't move at all? Could anyone help me out? Thanks!

Paul Jr
02-20-2004, 04:17 PM
You can do this quite easily with CSS. (http://www.w3schools.com/css/)

<style type="text/css">
body {
background-image: url(path/to/image.jpg);
background-position: fixed;
}
</style>

That would go in the <head> section of your document.

More Info On CSS Backgrounds. (http://www.w3schools.com/css/css_background.asp)