PDA

View Full Version : Back ground


FTG LIQUID CL
02-05-2013, 04:46 PM
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?

FTG LIQUID CL
02-06-2013, 11:24 AM
Wrong forum...this should be in vb 4

Digital Jedi
02-06-2013, 12:35 PM
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

ndut
01-23-2014, 03:06 PM
^^ which template i should change, to do that in vbulletion 5.05?