开发者

iPhone converts dates on my website into phone numbers — how can I prevent this?

Recently I checked my website in iPhone and I discovered that the iPhone sometimes convert dates or anything similiar to phone numbers.

What does it mean? Let’s say I’ve got, somewhere on my website, the following line:

<font style="color:red;font-size:40px;">bla bla bla 19/03/2011</font>

The iPhone converts it to a phone number — 开发者_运维百科the color become black and the font size become small (like 12px).

How can I disable it? What do I need to add to my website in order to prevent the conversion?

I can manipulate it so it won’t convert it into phone number - for example by adding '-' before the date, but I dont want to do it that way.

How can I solve it?

Thanks.


I believe this is what you are looking for:

<meta name="format-detection" content="telephone=no">
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜