View Full Version : No repeat background


_NeeN_
08-10-2004, 06:31 PM
i know how to do a background .. but what is the code for one that doesn't repeat?

Shirl
08-10-2004, 06:34 PM
you add bg properties="fixed" before you close the tag with >

bourdelson
08-10-2004, 06:52 PM
Last I knew, that only kept it from moving with the page, but it doesn't keep it from repeating. It's best to use CSS for your background image. If you're already using CSS, then put background-repeat:no-repeat; into your body portion of your CSS.

http://www.lissaexplains.com/css.shtml

lynn5127
08-10-2004, 07:42 PM
<style type="text/css">
body {background-repeat:no-repeat;}
</style>

Shirl
08-10-2004, 07:44 PM
Oops, sorry about that, I'm getting my codes mixed up. :D