How to make the background not scrolling?

Go down

How to make the background not scrolling?

Post by Praetor on Sun Sep 12 2010, 07:19

My forum's background is somewhat follows whenever you scroll the page(or Fixed should I say)... I just want it to stay there and musn't follow the scrolling.. Here's my code:
html {

background: #111111{https://i.servimg.com/u/f69/14/79/05/68/bg10.jpg};
background-position: top;
/* Height is 100%, so the body can be 100% */
height: 100%;
}


.spacer {
color: #6A6A6A;
background: #2C2C2C url("http://balkan-extreme.info/styles/hermes_gray/theme/images/th.gif") top left repeat-x;
border: solid 1px #393939;
padding: 1px;
}


div.t16 {font-size: 16pt}
div.t9 {font-size: 9pt}
div.t12 {font-size: 11pt}


/*Contur rontunjit la cadrul forumului-DOAR PENTRU UTILIZATORII FIREFOX,GOOGLE CHROME SI SAFARI*/
.bodyline{
-moz-border-radius: 20px;
-webkit-border-radius: 20px;}
a.mainmenu{
filter:alpha(opacity=30);
-moz-opacity: 1.0;
opacity: 1.0;
}
a.mainmenu:hover{
filter:alpha(opacity=100);
-moz-opacity: 0.65;
opacity: 0.65;

Praetor
New Member

Posts : 24
Reputation : 0
Language : English

Back to top Go down

Re: How to make the background not scrolling?

Post by Praetor on Sun Sep 12 2010, 09:02

Because in this page it is not scrolling

http://fearl4di.findtalk.biz/

Praetor
New Member

Posts : 24
Reputation : 0
Language : English

Back to top Go down

Re: How to make the background not scrolling?

Post by boffer10 on Mon Sep 13 2010, 19:23

this works for me

body {
background-attachment: fixed;}

boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Re: How to make the background not scrolling?

Post by Guest on Mon Sep 13 2010, 19:47

you can also do it from the pics managements:

ACP - Display - Pics Managements - Advanced Mod - Background picture (page) : - To the right side: "YES" Background fixed.

Guest
Guest


Back to top Go down

Back to top


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