Tuesday, August 10, 2010

Rupee Symbol ( Rs. ) on your Webpage

Rupee Symbol ( Rs. ) on your Webpage

I am sure you know how to use the New Rupee Symbol in your Word documents. (If not just download and install this font and press the key above 'tab' button and you are set).

However, using the Rupee symbol ( Rs. ) to show up on your web page is quite difficult. But there is a great solution available now.

A new startup Webrupee has come out with a API, which makes showing the rupee symbol on your website a breeze.

Here is how you can start showing Rs. symbol on your web pages:

How To Use WebRupee on your website ?

(note: please replace "[" and "]" with "<" and ">" other wise code will not work)

1. Add a stylesheet link in the head section of your webpage:

[link rel="stylesheet" type="text/css" href="http://webrupee.com/font"]

2. Add the following code enclosing your "Rs."

[span class="WebRupee"]Rs.[/span]

OR

Just include the following javascript and it will update all the " Rs. "/" Rs. " for you

[script src="http://webrupee.com/js" type="text/javascript"][/script]

(note: please replace "[" and "]" with "<" and ">" other wise code will not work)

What I really like is, if I use the script , it converts all the previous instances where Rs. is mentioned. Also, you do not have to take extra effort. Another advantage of it is – if someone copies your text, still the text will appear properly !

Go ahead, try out this simple, cross browser compatible method for using the Rupee symbol on your webpage, blog or anywhere on the web.

No comments:

Post a Comment