How can I do this ? |
![]() ![]() |
How can I do this ? |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 84 Joined: Mar 2007 Member No: 511,742 ![]() |
Anyone know the code to put an image above the add so that it stays in place even when the page is resized? People have told me its not possible but what i mean is like in this profile
http://profile.myspace.com/index.cfm?fusea...endID=305752863 |
|
|
![]()
Post
#2
|
|
![]() Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,918 Joined: Jun 2007 Member No: 538,522 ![]() |
Yep, you'll need to host your image and play around with the dimentions and pixel specs.
CODE <style><span class="off"></span><span class="off"></span><div class="image"> <img src="IMAGE URL HERE"></div><style> body {margin-top:380px} div.image { position:absolute; top:0px; left:50%; margin-left:-390px; width:675px; height:400px; } </style><span class="off"> </span></style> If that confuses you, link me to your image and I'll code it for you. |
|
|
![]()
Post
#3
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 84 Joined: Mar 2007 Member No: 511,742 ![]() |
doesnt work nothing shows up
|
|
|
![]()
Post
#4
|
|
![]() Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,918 Joined: Jun 2007 Member No: 538,522 ![]() |
There is nothing wrong with the code. Remember to wrap it in style tags.
Your next option is to post your image link here and I'll code it for you. |
|
|
![]()
Post
#5
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 84 Joined: Mar 2007 Member No: 511,742 ![]() |
oh sorry nevermind. I just added a part of that code to my previous background code and i think it worked fine
|
|
|
![]()
Post
#6
|
|
![]() Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,918 Joined: Jun 2007 Member No: 538,522 ![]() |
Great stuff, I'll keep this topic open for 24 hours and then I'll close it if you have no further problems.
|
|
|
![]() ![]() |