开发者

How to show arabic digit on button?

I t开发者_开发知识库ry to show arabic digits on bottun widget , i type text valu in arabic mode but it`s show english mode on bottun ! how can i do this ? thanks


Easiest way is to set the background of your picture with the .gif, .png or .jpg of your arabic character via CSS like:

<input type="button" class="arabicChar" />

Then in your stylesheet:

.arabicChar {
    background: url(images/arabic-char.png);
}

The other option requires you using a chart like: http://theorem.ca/~mvcorks/cgi-bin/unicode.pl.cgi?start=0600&end=06FF

But then you must set the Font of the Button (via CSS) with a Font that contains those Arabic characters...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜