CSS problem
3 posters
Page 1 of 1
CSS problem
ok so i have made my own css to make the background opaque.. how do stop the forum moving while the background stays still, i want the background to move with the forum itself, i will show you the coding or whatever it is lol..
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #5c758c;
background-color: #000000;
background-image: url('https://i.servimg.com/u/f60/15/90/24/28/backgr10.jpg');
background-attachment: top;
font-size: 10px;
height: 1600px;
width: 1407px;
padding: 10px 0px;
filter:alpha(opacity=90);
/* CSS3 standard */
opacity:0.9;
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #5c758c;
background-color: #000000;
background-image: url('https://i.servimg.com/u/f60/15/90/24/28/backgr10.jpg');
background-attachment: top;
font-size: 10px;
height: 1600px;
width: 1407px;
padding: 10px 0px;
filter:alpha(opacity=90);
/* CSS3 standard */
opacity:0.9;
eXzclusive- Forumember
- Posts : 55
Reputation : 0
Language : english
Re: CSS problem
eXzclusive wrote:ok so i have made my own css to make the background opaque.. how do stop the forum moving while the background stays still, i want the background to move with the forum itself, i will show you the coding or whatever it is lol..
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #5c758c;
background-color: #000000;
background-image: url('https://i.servimg.com/u/f60/15/90/24/28/backgr10.jpg');
background-attachment: top;
font-size: 10px;
height: 1600px;
width: 1407px;
padding: 10px 0px;
filter:alpha(opacity=90);
/* CSS3 standard */
opacity:0.9;
The mistake is in "background-attachment" it can be fixed, scroll, or inherit.
fixed - means it doesn't move.
scroll - means it can move.
What you are wanting to use instead of background-attachment: top, is background-position: top; this will specify "top center", as if you only include one keyword, center is always specified.
Hope this helps.
coco moco- Forumember
- Posts : 118
Reputation : 50
Language : English
Re: CSS problem
body {
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #5c758c;
background-color: #000;
background-image: url('https://i.servimg.com/u/f60/15/90/24/28/backgr10.jpg');
background-attachment: fixed;
font-size: 10px;
height: 1600px;
width: 1400px;
padding: 10px 0px;
filter:alpha(opacity=90);
opacity:0.9;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #5c758c;
background-color: #000;
background-image: url('https://i.servimg.com/u/f60/15/90/24/28/backgr10.jpg');
background-attachment: fixed;
font-size: 10px;
height: 1600px;
width: 1400px;
padding: 10px 0px;
filter:alpha(opacity=90);
opacity:0.9;
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum