NimbleKit - fast iOS app development

How to have a fixed background.

Ask questions and share your skills here

How to have a fixed background.

Postby cutmaster » Sat Oct 03, 2009 10:23 am

Hi,
I'm asking me how to have a fixed background with things scrolling on it, instead of having my background repeated verticaly ?
I've tried the following without success :
Code: Select all
body {
  background-color:#333333;
  background-image:url("background.png");
  background-repeat:repeat;
  background-attachment:fixed;
  color:#ffffff;
  font-family:Verdana,Arial,Sans-serif;
  font-size:12px;
}

Any idea ?
cutmaster
 
Posts: 104
Joined: Fri Jun 19, 2009 11:49 am

Return to How To...

Who is online

Users browsing this forum: Bing [Bot] and 1 guest