Note on css anchors

Rendering anchors can be painful

Mon 23 Nov 09 3:51 p.m.

An anchor can have for different pseudo-classes:

css
/* unvisited link */
a:link {}
/* visited link */
a:visited {}
/* mouse over link */
a:hover {}
/* selected link */
a:active {}
  • a:hover must come after a:link and a:visited in the CSS definition in order to be effective!!
  • a:active must come after a:hover in the CSS definition in order to be effective!!
  • Pseudo-class names are not case-sensitive.
 

I’m Luca Sbardella, and this is my personal weblog. I write about quantitative finance, data analysis, coding, web-applications, trading and other things I like.

Yes coding, I do a lot of it using Python, C++ with Boost, R, Javascript with JQuery and recently Erlang.

The opinions expressed on this site do not necessarily reflect those of my clients.

You can e-mail me at luca @ quantmind dot com or find at @lsbardel.