Log In · Register

 
backround scroll
indieshh
post Jun 6 2007, 01:52 PM
Post #1


Senior Member
***

Group: Member
Posts: 62
Joined: Jan 2006
Member No: 347,294



i have a backround a backround thats big enough for the first half of my mypspace, but when you scroll down it restarts another image of the backround

how can you like scroll down and it will still be the same image no matter how far you scroll down?
 
 
Start new topic
Replies
FoxLucky
post Jun 7 2007, 12:36 AM
Post #2


So um yeah
*****

Group: Official Designer
Posts: 745
Joined: Aug 2006
Member No: 459,873



I recognize that background tongue.gif

I'm not sure if this is what you are talking about but try this code:

<style type="text/css">
body{background-image:url("http://img221.imageshack.us/img221/9254/beachtestmm8.jpg");
background-attachment:fixed;
background-position: bottom center;
background-repeat: no-repeat;}
</style>
 
YourSuperior
post Jun 7 2007, 09:09 AM
Post #3


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



QUOTE(FoxLucky @ Jun 7 2007, 12:36 AM) *
I recognize that background tongue.gif

I'm not sure if this is what you are talking about but try this code:

<style type="text/css">
body{background-image:url("http://img221.imageshack.us/img221/9254/beachtestmm8.jpg");
background-attachment:fixed;
background-position: bottom center;
background-repeat: no-repeat;}
</style>

See, now this would work, because the background is larger, and it fits the whole screen so I advise you to use the code she provided. Now you can use the scroll code, and the background shouldn't start over.
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: