|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
background picture
what is the code for sinking an image into a background where it dosen't move, no matter how much you scroll up and down the page?
|
|
#2
|
|||||
|
|||||
|
Re: background picture
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: background picture
Quote:
What program are you using to code your page? or are you doing it yourself? if your doing it in a program theres a way threw the options, but i need to know what program you're using. A little more information would be helpful. |
|
#4
|
|||
|
|||
|
Re: background picture
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: background picture
<body background="IMAGE LINK HERE">
|
|
#6
|
|||||
|
|||||
|
Re: background picture
If you want to use CSS instead:
Code:
<style>
body {
background: #123456 url(someimage.jpg) no-repeat fixed center;
}
</style>
|
|
#7
|
|||
|
|||
|
Re: background picture
will those keep the background image stationary as you scroll...I'm talking like the robotic website is.
|
|
#8
|
|||||
|
|||||
|
Re: background picture
Im not sure about mine, becuase i just gave you a basic code. From the looks of it the code that Greg posted should prevent it from moving. But when building your webpage it may become difficult in some areas to read the text, so whatch what you use as a picture.
|
|
#9
|
|||||
|
|||||
|
Re: background picture
The CSS code provided keeps it stationary, yes.
And yes you should watch out with using a background, make sure you can read over it, or if you're using a picture its usually a good idea to play with it until the colors are relatively similar (less contrast, lighten/darken, etc). |
|
#10
|
|||
|
|||
|
Re: background picture
thanks!
|
|
#11
|
|||
|
|||
|
Re: background picture
the CSS is not working..can someone rewrite it..mabye he made a mistake.
|
|
#12
|
|||||
|
|||||
|
Re: background picture
Quote:
|
|
#13
|
||||
|
||||
|
Re: background picture
Quote:
|
|
#14
|
|||||
|
|||||
|
Re: background picture
Quote:
I disagree |
|
#15
|
||||
|
||||
|
Re: background picture
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD's "Name the Mentor" picture contest | Andy Baker | Games/Trivia | 42 | 12-02-2009 21:54 |
| Quick Help | Jeffel | 3D Animation and Competition | 9 | 12-10-2005 00:54 |
| 2005 Robot Picture Index | Gasperini | Robot Showcase | 9 | 09-04-2005 13:06 |
| Stretch a picture to fill up the whole background of a webpage? | Elgin Clock | Website Design/Showcase | 23 | 01-08-2004 13:48 |
| Are you willing to let others take picture of your robot? | Ken Leung | Robot Showcase | 21 | 10-04-2002 22:50 |