Input[type=submit] and the number date on the Apple phone to show the exception handling

Source: Internet
Author: User

1. The background color of input does not appear normal. :

On the mobile phone page wrote a button buttons, but the color display is not correct, white, do not know how, for example, the original color to the green and blue, the result is this way.

Workaround:

Add the following code to the CSS:

{    cursor: pointer;     -webkit-appearance: none;}

2. Stop clicking on the numbers on the Apple Mobile Web page to make calls and automatically add underscores to the solution

Sometimes it is necessary to display a date or number on the page similar to that in 2012-10-05, but the Apple phone will read it as a phone number and prompt to dial it. The style of the number is also underlined by default, and the color becomes blue. Much like the <a> tag style

The solution is as follows:

Just add that to the head of the HTML.

<name= "format-detection"  content= "Telephone=no"/> 

===========end==========

Input[type=submit] and the number date on the Apple phone to show the exception handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.