Dreamweaver. Can't change the colour of my links

Discussion in 'HTML & Website Design' started by jaredgravatt, Nov 30, 2007.

  1. #1
    I recently built a site using dreamweaver. I had the navigation bar words in a blackish gray colour to go with my design, but when I added the link to the words it turned blue and won't change back.

    The wierdest part about it is that not all the words changed colour.

    What do I do?
     
    jaredgravatt, Nov 30, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    <a>'s or anchors are given a default color by the browser, and the code above is what you need to override the default styles.
     
    soulscratch, Nov 30, 2007 IP
  3. jaredgravatt

    jaredgravatt Active Member

    Messages:
    849
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    where abouts in the code do I insert that?

    and do I use the whole thing?
     
    jaredgravatt, Nov 30, 2007 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    <link rel="stylesheet" type="text/css" media="screen" href="screen.css" />

    Then create a new CSS file and put this inside

     
    soulscratch, Nov 30, 2007 IP