Log In · Register

 
 
Closed TopicStart new topic
Changing name text with an image
Cherryluv77
post Jan 2 2008, 04:56 AM
Post #1


Member
**

Group: Member
Posts: 26
Joined: Feb 2007
Member No: 502,548



Hi again guys,

I would like to know if there is a code that I can use to put an image in the place of my text name.

An example of this can be seen here:

Thank you for your help. :D
 
MissHygienic
post Jan 2 2008, 05:16 AM
Post #2


Resource Center Tyrant
******

Group: Official Member
Posts: 2,263
Joined: Nov 2007
Member No: 593,306



I think there are two ways to go about this. In your "Edit Profile," you could type in the image URL in the "Display Name" textbox. Or, the better way, I would assume, is to use this code here:

CODE
<style>
.nametext {
background-image: url('URLOFDESIREDIMAGE');
background-repeat: no-repeat;
width: WIDTHOFIMAGEpx;
height: HEIGHTOFIMAGEpx;
display: block;
}
</style>
 
twodreamlovers
post Jan 2 2008, 03:40 PM
Post #3


always<3.
****

Group: Official Designer
Posts: 242
Joined: Mar 2006
Member No: 387,714



here's the link to the script if you want to add it to your favorites.
http://www.createblog.com/scripts/script.php?id=838
 

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