Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Dreamweaver turning links different colours??

  • 15-05-2009 10:41AM
    #1
    Registered Users, Registered Users 2 Posts: 6,539 ✭✭✭


    Hey just wondering can anyone tell me how you stop dreamweaver turning links different colours?

    I know theres a way to specify what colour you want links to be but the problem is I have links on a black background and also white so Id just prefer to leave them as normal.I just want them to underline but not all turn the one colour.


Comments

  • Moderators, Society & Culture Moderators Posts: 25,655 Mod ✭✭✭✭Dades


    The most basic way in Dreamweaver of setting link colours, is in the top menu under: Modify; Page Properties.

    You really should define it in CSS. It's quite simple to add CSS for page links to a page. Just add this within the <head> element of your HTML:

    [HTML]

    <style type="text/css">

    a {
    text-decoration: none;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #FFFFFF;
    }

    a:hover{
    text-decoration: underline;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #ed1b2d;
    }

    a:active{
    text-decoration: none;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #ed1b2d
    }

    a:visited{
    text-decoration: none;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #ed1b2d
    }

    </style>
    [/HTML]You can easy change the underline, font, RGB value (colour) etc, and these styles will apply to every link on your page.


  • Closed Accounts Posts: 18,152 ✭✭✭✭Liam Byrne


    I know it's probably just semantics, but for the record, Dreamweaver doesn't "turn links different colours"

    The default colour for a link is blue, and the default colour for a link that your browser knows that you have visited is purple.


Advertisement
Advertisement