Helpful Information
 
 
Category: vB5 Programming Discussions
Back ground

How do I make a background image remain still when I scroll.When I scroll down the background image moves with the scroll.Is there a way I can make the background image remain still when I scroll down?

Wrong forum...this should be in vb 4

Presuming you've applied the background image to an element with CSS, you just set the background-attachment to fixed:

background-image:url('mybackground.gif');
background-repeat:no-repeat;
background-attachment:fixed;

Then you can set the position of the element, if you don't want it to default to the top right corner.

Or you can use it in the shorthand version, which is, essentially, in this order:background-color background-image background-attachment position-x position-y:

background:#FFFFFF url('img_tree.png') no-repeat center top

^^ which template i should change, to do that in vbulletion 5.05?










privacy (GDPR)