Log In · Register

 
 
Closed TopicStart new topic
Positioning pictures..., wrong code?
8trackpromo
post Oct 8 2009, 04:09 AM
Post #1


Member
**

Group: Member
Posts: 18
Joined: Sep 2007
Member No: 572,962



heres the code i have for positioning a picture as a link, but its not clickable for ome reason???
Also, i need a code to post the codebox or whatever so people on my myspace page can copy an image code to put on their page, any help?
CODE
</div>
<div style="position:absolute; top:4000px; left:50%; margin-left:-475px; z-index:9; height:150px; width:150px;"> <img src="http://i391.photobucket.com/albums/oo357/8trackdesigns/Facebook_02.png" alt="" /><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LmZhY2Vib29rLmNvbQ=="/> </a>
 
ZeT0
post Oct 8 2009, 04:40 AM
Post #2


Senior Member
****

Group: Member
Posts: 253
Joined: Jul 2009
Member No: 739,898



Picture as a link :
CODE
<a href="http://google.com"><img src="image.jpg"></a>


Code box :
CODE
<textarea>CODE GOES HERE</textarea>


Also, are you trying to position the picture as a div? Why don't you just post it in the about me?
To make it a div use :

CODE
.picturediv {position:absolute; top:###px; left:50%; margin-left:-###px; _margin-left:px; width:325px; height:700px; z-index:3;}

THEN :

<div class="picturediv">
<a href="http://google.com"><img src="image.jpg"></a>
</div>


Change the ### according to where you'd like it to be, also the Width and Height.
(if anything here is wrong, someone please correct me!)
Hope it helped!
 
Mickey
post Oct 8 2009, 08:27 AM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Use this code to position an image link:

CODE
<div style="position:absolute; top:#px; left:50%; margin-left:#px; z-index:9;">
<a href="URL"><img src="URL" alt="" /></a>
</div>

Replace the pound symbols and URLs accordingly. Then use this code to post image codes inside a code box:

CODE
<textarea><img src="URL" /></textarea>

Again, replace URL accordingly.
 
8trackpromo
post Oct 8 2009, 04:42 PM
Post #4


Member
**

Group: Member
Posts: 18
Joined: Sep 2007
Member No: 572,962



Thanks a bucnh!
 
Mickey
post Oct 8 2009, 04:46 PM
Post #5


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Topic closed & moved.
 

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