The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I create a "fixed" or static background?

2 posters

Go down

How do I create a "fixed" or static background? Empty How do I create a "fixed" or static background?

Post by Doktoroktopus April 13th 2013, 7:31 pm

One that doesn't scroll up or down but stays fixed while the forum scrolls.

For example, on this site:

http://mhwiki.forumotion.net/

I'd love to do that with our background.

My website is at www.club1kjho.com
avatar
Doktoroktopus
Forumember

Posts : 81
Reputation : 1
Language : English

http://www.club1kjho.com/

Back to top Go down

How do I create a "fixed" or static background? Empty Re: How do I create a "fixed" or static background?

Post by Festina Lente April 13th 2013, 7:49 pm

Find this code in CSS:

Code:
body {
   background-color: #BDE48A;
   
   background-attachment: scroll;
   }

to fix background: background-attachment: fixed;

Festina Lente
Festina Lente
Forumember

Male Posts : 279
Reputation : 20
Language : English

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum