1 Replies - 575 Views - Last Post: 06 September 2012 - 06:59 AM

#1 nick2price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 561
  • View blog
  • Posts: 2,826
  • Joined: 23-November 07

html phone link

Posted 06 September 2012 - 03:39 AM

Hi guys. I have a responsive website and on one part of it, in a media query for the mobile, I display a phone number in a <p> tag. Through some magical force, the iphone recognises this as a phone number, and when you click on it, it dials the number. This isnt a problem, the problem is that once clicked, the colour of the number changes. Do I just treat this like a normal a link, or is there a special thing I need to do as its a p?

Cheers

Is This A Good Question/Topic? 0
  • +

Replies To: html phone link

#2 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 5931
  • View blog
  • Posts: 10,346
  • Joined: 28-September 07

Re: html phone link

Posted 06 September 2012 - 06:59 AM

Most likely, you just need to set your visited link color in CSS.

p a.visited {color:#111;}


Was This Post Helpful? 1
  • +
  • -

Page 1 of 1