scroll image on myspace |
![]() ![]() |
scroll image on myspace |
Sep 9 2008, 06:34 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 8 Joined: Jul 2008 Member No: 668,304 |
ok im gonna try and explain this the best i can
i wanna know if there is a way to make a image scroll with the page like the background would on myspace. like i wanna put my logo in the corner and it'll scroll up & down with page Is there a way to do this on myspace? |
|
|
|
Sep 10 2008, 05:41 AM
Post
#2
|
|
![]() Offline. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 609 Joined: Mar 2007 Member No: 507,591 |
You can used position fixed but that's only compatible with Firefox. [i] I don't no if there is an other solution without using JavaScript
CODE <style type="text/css" >
.logo { position: fixed; top: 10px; left: 10px; } </style> |
|
|
|
Sep 11 2008, 09:45 AM
Post
#3
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Try this:
CODE <div style="position:absolute; left:0px; top:0px; width:100px; height:100px; background:url("URL") scroll center center; display:block;"> </div> Replace URL with the url of the image you want. That might not be what you're looking for, though. What you want can only be achieved through Javascript. |
|
|
|
![]() ![]() |