Log In · Register

 
How to set gif image to be underline of links?, with sample
beclovesang
post Nov 26 2005, 09:08 PM
Post #1


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



Juz like this xanga

As what u can see in the xanga above, there are gif image being the
background of links when u put ur mouse over it,
and now I am wondering if I can put the gif at the bottom of the text links,
juz like a custom underline.

Any1 help me plz?_unsure.gif
 
 
Start new topic
Replies (1 - 12)
talcumpowder
post Nov 26 2005, 09:11 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



CODE
<style type="text/css">a:hover{text-decoration: underline; background-image: url(URL HERE);}</style>
 
beclovesang
post Nov 26 2005, 09:17 PM
Post #3


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



It doesn't work. It shows as a highlight but not an underline.
 
talcumpowder
post Nov 26 2005, 09:22 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



[ http://www.xanga.com/nyah_tests ]
Works fine for me. mellow.gif
 
beclovesang
post Nov 26 2005, 09:27 PM
Post #5


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



I can't see any effect in ur site _unsure.gif
BTW, where do u put the code in?
 
talcumpowder
post Nov 26 2005, 09:31 PM
Post #6


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Custom header.
You can't see the effect, because it's only to show the underline part. Which it does.
 
beclovesang
post Nov 26 2005, 10:09 PM
Post #7


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



but what I want is to put the mouse over links,
there are underlines which are gif image...
 
talcumpowder
post Nov 26 2005, 10:41 PM
Post #8


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Yeah.... So you put a URL where it says URL HERE. mellow.gif Otherwise no image is gonna show up.
 
beclovesang
post Nov 26 2005, 10:59 PM
Post #9


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



I think I understand ur point.U mean there should be an underline,
otherwise this code will not show any effect right?
But wt I want is like this: CLICK
There are no underlines indeed, but when I point to the links(or image with link),
a gif image appear at the bottem(sorry, maybe my Eng is to poor
and make u misunderstood), the gif image is not being an underline,
it "looks like" an underline only.

Hope this time I hv made myself clear.
 
alduhkneel
post Nov 26 2005, 11:05 PM
Post #10


hindi ko maisip kung wala ka sa buhay ko.
****

Group: Member
Posts: 290
Joined: Nov 2005
Member No: 298,637



http://pootato.org/html/custom_underlines/
try that. :]
 
talcumpowder
post Nov 26 2005, 11:05 PM
Post #11


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



CODE
<style type="text/css">a:hover{background-image: url(URL HERE);}</style>
 
beclovesang
post Nov 26 2005, 11:48 PM
Post #12


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



no, it doesn't work.....
it only show as a background of links,
but not show at the bottom of the links.
 
beclovesang
post Nov 26 2005, 11:50 PM
Post #13


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



put them togather?
like this?



indeed, I hv already suceed to do like THIS,
but now I am wondering if it can show at the bottom of text(links) too.
 

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