How can I do this ? |
How can I do this ? |
Jan 9 2008, 04:46 PM
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 |
|
|
|
![]() |
Jan 9 2008, 04:51 PM
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. |
|
|
|
Yuniechan How can I do this ? Jan 9 2008, 04:46 PM
Yuniechan doesnt work nothing shows up Jan 9 2008, 06:23 PM
S-Majere There is nothing wrong with the code. Remember to ... Jan 9 2008, 06:24 PM
Yuniechan oh sorry nevermind. I just added a part of that co... Jan 9 2008, 06:38 PM
S-Majere Great stuff, I'll keep this topic open for 24 ... Jan 9 2008, 06:42 PM![]() ![]() |