JamesRage Posted December 6, 2012 Share Posted December 6, 2012 I'm trying to work as much as I can with templates now and then, and need some help? If you can, and want, please drop me a PM. Its really needed for my game. :) And quick question guys, how do I make it, that when a user scrolls up and down on a webpage the initial background doesn't move but the content within the webpage? :) I think crime-ink.net uses it? :) Thanks :) Quote Link to comment Share on other sites More sharing options...
Djkanna Posted December 6, 2012 Share Posted December 6, 2012 Crime Inc, doesn't use it, providing there's enough content to have to scroll, the funky city background will eventually disappear from view. [CSS] background: #000 url("images/background.png") no-repeat fixed center top [/CSS] Would do it though. *Don't blame me if you run into 'quirks', using this, if anything Google "css fixed background images". Quote Link to comment Share on other sites More sharing options...
JamesRage Posted December 6, 2012 Author Share Posted December 6, 2012 Crime Inc, doesn't use it, providing there's enough content to have to scroll, the funky city background will eventually disappear from view. [CSS] background: #000 url("images/background.png") no-repeat fixed center top [/CSS] Would do it though. *Don't blame me if you run into 'quirks', using this, if anything Google "css fixed background images". Many thanks man. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.