Monday, July 19, 2010

[How to] Use the new Indian Rupee symbol on websites

Last week, you would have read about the new symbol for Indian Rupee (R - This is not an image). The next question anyone would have had asked is how do I type the new symbol. When will the symbol be added to the Unicode character set. India is part of the committee approving characters to Unicode char-set. It is expected that the new symbol will be approved in the next meeting of the committee to be held in October 2010. However, there are fonts available with the new symbol which you can download and use. If you want to use the new Indian Rupee symbol on your website, follow these instructions from @nparashuram:
  •  Include the style sheet. <link rel="stylesheet" href="http://axemclion.github.com/rupee/rupee.css"/>The required font is embedded into the CSS.
  • Then, add the following code at places where you would like the R to show up. <span style ="font-family:rupee">R</span>
Check out the bookmarklet and the GreaseMonkeyScript for doing the same here.
Source: Dy-Verse

-- Varun

No comments:

Post a Comment

google-site-verification: googlea4d68ed16ed2eea6.html