help with link color in dreamweaver

Discussion in 'HTML & Website Design' started by indyonline, Nov 28, 2007.

  1. #1
    Hello everyone. I'm building a site now with dreamweaver, and I added some email links, how can I change the color of those links. I'm using a template I bought from a template site and the css has the text color a blue grey and I want to change the link to white. It lets me change the color of the text but not the link. If I take the link out the text will be white but when I change it to a link it turns the blue grey again. Any input would be greatly appreciated. thanks in advance-Rob
     
    indyonline, Nov 28, 2007 IP
  2. mikemdg

    mikemdg Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    you could add a new style in your .css file such as

    .link {
    }

    or you could just surround your link text with something like
    <a href="link.html"><font color="#000000">link</font></a>
     
    mikemdg, Nov 28, 2007 IP
  3. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #3
    Or, so it validates Or, so it has a chance to validate xHTMl strict (though if its done in Dreamweaver I doubt it'll make much difference), something like this:

    <a style="color:#FFF" href="link">this is a link<a/>
     
    blueparukia, Nov 28, 2007 IP
  4. indyonline

    indyonline Prominent Member

    Messages:
    4,626
    Likes Received:
    248
    Best Answers:
    2
    Trophy Points:
    335
    #4
    Thank you both. I will try that.
     
    indyonline, Nov 28, 2007 IP
  5. indyonline

    indyonline Prominent Member

    Messages:
    4,626
    Likes Received:
    248
    Best Answers:
    2
    Trophy Points:
    335
    #5
    That worked. Thank you. It is wierd the way dreamweaver has issue's like that. I have come accross a few things I have had to edit in the code because they would not change in design mode. I guess it's a good thing though. I'm learning html. Thanks again.
     
    indyonline, Nov 28, 2007 IP