Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No scroll background

Status
Not open for further replies.

Facilitator

Technical User
Sep 24, 2002
5
US
Hi, I am having difficulties with a background on an html page. The background keeps moving, eventhough I am trying to fix it so it won't move..
I have tried the following:



Background="image.gif" bgproperties=no scroll

OR

Background="image.gif" bgproperties=fixed

Please help,

Thanks!
 
both above do not work in Netscape.
Use css and search this forum, the CSS code for it has been posted at least 10 times already
 
For old HTML, which isn't recommended if you want to be up to date, you can use ...

<body background=&quot;URL of image&quot; bgproperties=&quot;fixed&quot;>




Or, better, add this in the <head> </head> section of your page...

<style>
<!--
body {
background : URL of background image;
background-repeat : no-repeat;
}
-->
</style>

Regards,

Graham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top