Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS a:visited Problem/Bug

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38157
    rssatnam
    Participant

    Hello Everyone,
    I’m learning CSS so found this website very useful.
    But while learning I came to a Bug or a Problem don’t know why this code is not working :

    CTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



    Untitled Document




    link


    I didn’t get that why a:visited { text-decoration: line-through or underline is not working ?

    If you can help me then please :)
    Thanks

    #103213
    snillor
    Member

    Sorry that I don’t have time to dig deeply in to this, but 2 things come to mind:

    1) Long standing advice is to style your link states in this order:
    Link
    Visited
    Hover
    Focus
    Active
    (Think Lord Vader’s Handle Formerly Anakin)

    2) And I seldom bother styling visited links anymore because some modern browsers have stopped supporting it (out of privacy concerns – unscrupulous folks can target a visited style to capture visitors’ browsing history).

    #103214
    rssatnam
    Participant

    Ok thanks :)

    #103243

    I think that you are encountering a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=645786

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.