T
T
Test Test2015-03-16 11:35:15
css
Test Test, 2015-03-16 11:35:15

Why does text become a link on iPhone/iPad?

Good afternoon! For example, we have a page with this code: And, let's say, we set some style (color, fill). In all browsers, except for Safari on iPhone/iPad, the text is displayed correctly, and on these devices as a link, moreover, in the standard style, and the link leads to 26/01/2015 , how can I fix this? Also, for example: Making blue links look ugly...
<div class="article-dateline">26 / 01 / 2015</div>

<div class="article-phone">(812) 777-57-57</div>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daria, 2015-03-16
@cubooks

The iPad/iPhone offers some actions with the phone/date (call, add to the calendar, etc.), which is probably why it looks like a link (the date even in the internal messenger turns into a link with a suggestion to add an event to the calendar).
An example of how to fight. In general, many options are being searched, google :)

S
Sergey, 2015-03-16
@butteff

Use a separate css file for iPhones and iPads, in which you write the desired colors and styles for .article-dateline. But I think that somewhere above you stupidly do not close the link tag. Google css mediaquery

I
Igor Vorotnev, 2015-03-16
@HeadOnFire

You don't need to eliminate these styles, you need to bring them to your color scheme (so that not the blue standard, but your link color is picked up), and also correctly use the necessary HTML5 tags and attributes. Addresses, phone numbers, dates - all this should be clickable on my device so that I can look at the address on the map in one click or make a call without copy-paste, but simply by clicking on the link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question