Any one got the code where the background scrolls when you scroll down :D
Printable View
Any one got the code where the background scrolls when you scroll down :D
Errrr what?
Add this in your CSS
HTML Code:background-repeat:repeat-y;
background-attachment: fixed;
background-repeat: repeat;
google it?
background-image: url(file:///C|/Documents%20and%20Settings/Admin/Desktop/bottom_background.png); background-color: #53BAE5; background-repeat:repeat-y;
background-attachment: fixed;
background-repeat: repeat;
This right?
background-image: url(images/bottom_background.png);
background-color: #53BAE5;
background-repeat:repeat-y;
background-attachment: fixed;
background-repeat: repeat;
}
This code, I have put in www.habbocouncil.co.uk But wont stick?
sorry to be so annoying but im a noob lol
works fine?
Yes does now lol :D Thanks for your help people
YUUCK!Quote:
<style type="text/css">
<!--
body {
background-image: url(images/bottom_background.png);
background-color: #53BAE5;
background-repeat:repeat-y;
background-attachment: fixed;
background-repeat: repeat;
}
-->
</style>
Never, never, never use css in your header.
1. Increases load time.
2. You have the <link> tag, but, why isn't that css in style.css :S
Sort it michael.
Also, rename all pages to .php instead of html [ONLY HTML PAGES DONT RENAME YOUR CSS ETC] TRUST ME once you want to add news reports etc.. having 300 odd files is a real bum to change all, trust me i've done it b4.