Weird link color of the current page

Discussion in 'HTML & Website Design' started by milos112, Dec 11, 2014.

  1. #1
    Hello, I am making my first website. After designing the home page and fixing the name of the file to what the home button and respectively the rest of the buttons in the menu bar would be linked to "name.html" I experienced a very strange thing. If I go to Oferta ( offer ) which is saved in the offer.html as well as the link says its supposed to go to <a href="offer.html">Oferta</a>. The "Oferta" hyperlink or whichever it is, changes color to purple. I have no clue why that happens, and I would really appreciate some help. I tried googling it, but I dont even know how to name it.

    Here's some screenshots:
    -"Oferta" after opening the offer.html file goes purple
    http://puu.sh/dr3d2/ccb1d25f7a.jpg[​IMG]

    - First link goes purple after opening the home.html file which it is linked to
    [​IMG]

    Help will be rewarded!:)
     
    Solved! View solution.
    milos112, Dec 11, 2014 IP
  2. milos112

    milos112 Member

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    PS. I am talking about the MENU BAR
     
    milos112, Dec 11, 2014 IP
  3. #3
    It's the default behaviour for links. Override it in your css file with
    a:visited {
       color: green;
    }
    Code (markup):
    You're showing your age, once upon a time nobody messed with the colour of visited links. It was actually quite handy. I sometimes back unvisited links bold and visited links normal to create the same effect.
     
    sarahk, Dec 11, 2014 IP
  4. milos112

    milos112 Member

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    WOW, I cant believe I have overseen this!!! Thank you a lot!
     
    milos112, Dec 11, 2014 IP