2012-08-27

What's default HTML/CSS link color?


  • standard link - #0000FF //blue
  • visited link - #800080 //purple
  • active link - #FF0000 //red
that was a standard but heavily differs per browser now.


The default colours in Gecko, assuming the user hasn't changed their preferences, are:
  • standard link: #0000EE (blue)
  • visited link: #551A8B (purple)
  • active link: #EE0000 (red)
Gecko also provides names for the user's colours; they are -moz-hyperlinktext -moz-visitedhyperlinktext and -moz-activehyperlinktext and they also provide -moz-nativehyperlinktext which is the system link colour.

0 评论:

Post a Comment

Popular Posts