alt link style?

Out of context: Reply #8

  • Started
  • Last post
  • 8 Responses
  • craic_whore0

    You are using a 'simple' selector, eg 'p {display;block}'. Basically you're ‘restyling’ html elements, that’s why it’s automatic. Classes and IDs allow multiple style rules on html elements ‘p.foo’ ‘p.#foo’ ‘p.foo02’ ‘p.#foo02’ etc. ‘a.foo:link’ is what’s known as a pseudo class, in answer to your question create a class called ‘a.foo’ then the psudo classes ‘a.foo:link’ ‘a.foo:hover’ etc.

View thread