Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using more than one link color in Dreamweaver MX

    Can someone please help me! I am trying to use two different link colors in Dreamweaver MX (for Mac). The page properties are set to use white for links (these links are on a color background), but I need to use another color in the body text so that it will show up on the white background. Can someone tell me how I can achieve this?

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton
    Posts
    180
    Thanks
    0
    Thanked 0 Times in 0 Posts
    here is a short document that shows how this can be done.
    im not sure about how to do in dreamweaver, but i think maybe you define the style, highlight the text and apply the style to it :/

    <html>
    <head>
    <style>
    a.red { color: red; text-decoration: underline }
    a.blue { color: blue; text-decoration: underline }
    </style>
    </head>
    <body>
    <a class="red">I am a red link</a>
    <a class="blue">I am a blue link</a>
    </body>
    </html>

    This presents 2 links, 1 in each color in the standard format.
    Copy like the example into code view if you cant work out how to apply it with dreamweaver.

    Gazz


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •