PDA

View Full Version : How do I make image that is fixed for body_background in vb5


kf4eok
09-18-2015, 10:51 PM
I would like to have a background image in my style that is fixed and the forum scrolls down without moving the body_background image. I an using vb5.1.9 I have a style named Amanius 2 that does this and I cannot figure out where the settings would be to get the same results in my style. Any ideas or help would be great.

kf4eok
09-19-2015, 12:23 AM
I found one way to do what I wanted, let me know if there is a better way to do this.
I added these lines to my css_additional.css for this style.

body{background-size: 100% 100%;
background-attachment:fixed}

This seems to do what I wanted to do.

billstelling
09-19-2015, 01:54 PM
A good way to do it and it will work with a variable style and expand along with the body.