Pages

Wednesday, November 16, 2011

How to show link title in other local languages like punjabi, hindi

Some sites which use local languages can't use title attributes of anchor tag  in some text as it starts showing BOXES in place of text.



So here is the solution





















Use BELOW CSS code



<style type="text/css">
a.tooltip span {display:none; padding:1px 1px; margin-left:60px;}
a.tooltip:hover span{display:inline; position:absolute; border:1px solid #000000; font-size:12px; background:#FFFFE1; color:#000000; box-shadow: 2px 2px 1px #888888;}
</style>


And use below code Where we want to show tooltip



<a href="#" class="tooltip"; > Hover Here <span> Tool tip Msg HRERE </span> </a>



I hope this would be the best solution :)

Also published on BloggerPlugnPlay.blogspot.com

1 comments:

  1. “I jumped on an opportunity to purchase a rental property over the 4th of  weekend. Mr Lee was quick to respond and since this was my first time getting a loan to buy a rental property , he was able to help me walk through the loan process. It was a great experience working with a good and kind loan lender Mr Lee. I hopefully know very well if you are outta looking for loan to purchase a property or funding business purpose then Mr Lee will be able to help you with such process here his details WhatsApp +1-989-394-3740.   / lfdsloans@outlook.com  !”  

    ReplyDelete

AD