Jump to content
MakeWebGames

Layout help


JamesRage

Recommended Posts

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 :)

Link to comment
Share on other sites

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".

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...