a:visited not working in Mozilla or Firefox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DM

    a:visited not working in Mozilla or Firefox

    I searched on this topic. Found others who mentioned it, but no
    solution. I can't seem to get visited links to appear in a different
    color in Mozilla or Firefox on the PC. It works fine in IE. My CSS is
    copied below. Any help would be greatly appreciated.

    Thanks

    DM


    td#footer a:link{
    border-bottom: solid 1px #FFFFFF !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    }
    td#footer a:link:active,
    td#footer a:visited:activ e{
    border-bottom: solid 1px #FFFFFF !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    }
    td#footer a:visited{
    border-bottom: solid 1px #FFCC66 !important;
    color: #FFCC66 !important;
    text-decoration: none !important;
    }
    td#footer a:link:hover,
    td#footer a:visited:hover {
    border-bottom: none !important;
    color: #00FF33 !important;
    text-decoration: none !important;
    }
  • Knud Gert Ellentoft

    #2
    Re: a:visited not working in Mozilla or Firefox

    DM skrev:
    [color=blue]
    >I searched on this topic. Found others who mentioned it, but no
    >solution. I can't seem to get visited links to appear in a different
    >color in Mozilla or Firefox on the PC.[/color]

    The order must be
    link
    visited
    hover
    active


    --
    Knud
    Topposter du svar, så ryger du på min ignoreringslist e.
    Svar under det du citerer og citer kun det du svarer på - tak.

    Comment

    • DM

      #3
      Re: a:visited not working in Mozilla or Firefox

      Knud Gert Ellentoft wrote:[color=blue]
      > DM skrev:
      >
      >[color=green]
      >>I searched on this topic. Found others who mentioned it, but no
      >>solution. I can't seem to get visited links to appear in a different
      >>color in Mozilla or Firefox on the PC.[/color]
      >
      >
      > The order must be
      > link
      > visited
      > hover
      > active
      >
      > http://www.w3.org/TR/CSS21/selector.html#x35[/color]

      I tried changing it (see code below), but that doesn't work either. The code
      below does not work in Mozilla or Firefox at my organization. It works fine in IE.

      I've also noticed that on www.yahoo.com, www.cnn.com, www.taxes.ca.gov visited
      links change color in IE 6, but not in Mozilla 1.7.3 or Firefox 1.0.2 for the PC.

      I would be grateful to anyone who can shed some light on this.

      td#footer a:link{
      border-bottom: solid 1px #FFFFFF;
      color: #FFFFFF;
      text-decoration: none;
      }
      td#footer a:visited{
      border-bottom: solid 1px #FFCC66;
      color: #FFCC66;
      text-decoration: none;
      }
      td#footer a:link:hover,
      td#footer a:visited:hover {
      border-bottom: none;
      color: #00FF33;
      text-decoration: none;
      }
      td#footer a:link:active,
      td#footer a:visited:activ e{
      border-bottom: solid 1px #FFFFFF;
      color: #FFFFFF;
      text-decoration: none;
      }

      Comment

      • Andy Dingley

        #4
        Re: a:visited not working in Mozilla or Firefox

        On Wed, 06 Apr 2005 14:19:39 -0700, DM <spampit@devnu1 1.com> wrote:
        [color=blue][color=green]
        >> The order must be
        >> link
        >> visited
        >> hover
        >> active
        >>
        >> http://www.w3.org/TR/CSS21/selector.html#x35[/color]
        >
        >I tried changing it (see code below), but that doesn't work either.[/color]

        The most important part of the order is to place hover below visited.
        As you originally had it, it still wouldn't cause the problem you
        describe.

        Can you post a URL to the whole page ? It's not always possible to
        debug fragments in isolation.


        Comment

        • Knud Gert Ellentoft

          #5
          Re: a:visited not working in Mozilla or Firefox

          DM skrev:
          [color=blue]
          >I tried changing it (see code below), but that doesn't work either. The code
          >below does not work in Mozilla or Firefox at my organization. It works fine in IE[/color]

          Read the link I posted, how it must be written,


          And validate your css.

          --
          Knud
          Topposter du svar, så ryger du på min ignoreringslist e.
          Svar under det du citerer og citer kun det du svarer på - tak.

          Comment

          • DM

            #6
            Re: a:visited not working in Mozilla or Firefox

            Knud Gert Ellentoft wrote:[color=blue]
            > DM skrev:
            >
            >[color=green]
            >>I tried changing it (see code below), but that doesn't work either. The code
            >>below does not work in Mozilla or Firefox at my organization. It works fine in IE[/color]
            >
            >
            > Read the link I posted, how it must be written,
            > http://www.w3.org/TR/CSS21/selector.html#x35
            >
            > And validate your css.
            > http://jigsaw.w3.org/css-validator/[/color]

            My CSS and HTML validate.

            I also tried this code:

            a:link{
            color: #336699;
            text-decoration: underline;
            }
            a:visited{
            color: #993366;
            text-decoration: underline;
            }
            a:hover{
            color: #66CCFF;
            text-decoration: none;
            }
            a:active{
            color: #FF6600;
            text-decoration: none;
            }

            It produces the same result. Other people using Mozilla and Firefox on other
            computers apparantly are finding that the visited links DO change color. So this
            is specific to certain machines.

            Browsers on my machine are set to use the colors specified by the webpage. Is
            there some other config setting that could affect this?

            Comment

            • Steve Pugh

              #7
              Re: a:visited not working in Mozilla or Firefox

              DM <spampit@devnu1 1.com> wrote:
              [color=blue]
              >Other people using Mozilla and Firefox on other
              >computers apparantly are finding that the visited links DO change color. So this
              >is specific to certain machines.
              >
              >Browsers on my machine are set to use the colors specified by the webpage. Is
              >there some other config setting that could affect this?[/color]

              Tools > Options > Privacy > History
              Remember visited pages for the last [ ] days

              If that's set to zero than the browser keeps no record of which pages
              have been visited and hence never used the :visited styles.

              Steve

              --
              "My theories appal you, my heresies outrage you,
              I never answer letters and you don't like my tie." - The Doctor

              Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

              Comment

              • Adrienne

                #8
                Re: a:visited not working in Mozilla or Firefox

                Gazing into my crystal ball I observed DM <spampit@devnu1 1.com> writing
                in news:42558f4c$0 $10811$2c56edd9 @news.cablerock et.com:
                [color=blue]
                > It produces the same result. Other people using Mozilla and Firefox on
                > other computers apparantly are finding that the visited links DO change
                > color. So this is specific to certain machines.
                >
                > Browsers on my machine are set to use the colors specified by the
                > webpage. Is there some other config setting that could affect this?
                >[/color]

                Have you cleared your cache?

                --
                Adrienne Boswell
                Arbpen Consulting will help you harness valuable insights and translate them into tangible results by merging data and strategy.

                Please respond to the group so others can share

                Comment

                • DM

                  #9
                  Re: a:visited not working in Mozilla or Firefox

                  Steve Pugh wrote:
                  [color=blue]
                  > DM <spampit@devnu1 1.com> wrote:
                  >
                  >[color=green]
                  >>Other people using Mozilla and Firefox on other
                  >>computers apparantly are finding that the visited links DO change color. So this
                  >>is specific to certain machines.
                  >>
                  >>Browsers on my machine are set to use the colors specified by the webpage. Is
                  >>there some other config setting that could affect this?[/color]
                  >
                  >
                  > Tools > Options > Privacy > History
                  > Remember visited pages for the last [ ] days
                  >
                  > If that's set to zero than the browser keeps no record of which pages
                  > have been visited and hence never used the :visited styles.
                  >
                  > Steve
                  >[/color]

                  That is the solution.

                  Thank you.

                  Comment

                  • Michael Rozdoba

                    #10
                    Re: a:visited not working in Mozilla or Firefox

                    Steve Pugh wrote:

                    [moz]
                    [color=blue]
                    > Tools > Options > Privacy > History
                    > Remember visited pages for the last [ ] days
                    >
                    > If that's set to zero than the browser keeps no record of which pages
                    > have been visited and hence never used the :visited styles.[/color]

                    Likewise thanks - that one's been bugging me for weeks :)

                    --
                    Michael
                    m r o z a t u k g a t e w a y d o t n e t

                    Comment

                    Working...