Last Updated: February 25, 2016
· zigotica

iOS phone number styling

iOS has an automatic feature to detect phone numbers and link them to a phone call by clicking on them. The problem with this is twofold:

  1. Many false positives
  2. Style for these numbers is really ugly (ugly as in default link style).

You can solve it two ways, either using a special meta tag in your HTML or using a special attribute selector in your CSS. I explain it here: