Solved

Standing still background on web page.

Posted on 2009-05-15
5
320 Views
Last Modified: 2012-05-07
Okay I know you all have seen the my space pages with a background that doesn't move while your scrolling on the page.  I would like to know if any one could tell me how to do that?  Or does any one have the code to do it that would be better.
0
Comment
Question by:larrybnice
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
Hube02 earned 43 total points
ID: 24400848
it's done with CSS:

background-attachment: fixed;
0
 
LVL 16

Assisted Solution

by:jessc7
jessc7 earned 41 total points
ID: 24401244
Try these two links for examples:

http://www.wikihow.com/Edit-Your-MySpace-Background
http://www.davesite.com/webstation/html/myspace_backgrounds.shtml

On the second link, scroll down until you see the section labeled "Example Code".
0
 
LVL 15

Assisted Solution

by:Daydreams
Daydreams earned 41 total points
ID: 24403178
Hi larrybnice,

This is a good explanation:

http://www.w3schools.com/Css/pr_background-attachment.asp

However some browsers need javascript:

http://www.w3schools.com/Css/pr_background-attachment.asp

Click the green "try it yourself" button on the bottom of the page linked above. Then at the next page click "see background-image to be fixed". The code is on the left.
0
 
LVL 16

Expert Comment

by:jessc7
ID: 24425498
larrybnice, was there anything else we can help with?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adobe Illustrator CS6 - font not found 7 2,821
certificate 4 167
Photoshop Jpeg 12 206
Free stock image website 3 130
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question