www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] CSS Help Please

  1. #1
    Join Date
    Nov 2006
    Posts
    593

    resolved [RESOLVED] CSS Help Please

    Hello,

    So against my better judgement I have to change my website background from grey to black:

    http://southbeachgroup.com/allie2/index_a.html

    And this has screwed up my link color. I thought to attach a CSS stylesheet to make it easier to update all the pages with the site but I am having a small problem.

    Before all my links (active, visited, etc.) were black and now that the page background is black I have to change them to white.

    Now the thing is that they have to remain black on that middle part but I am not sure about the following....Can I have active links different colors on different parts of the site?

    Like for example can I have the active link color white on that top part and then black int he middle white part? And how would I do that?

    I have pasted my stylesheet below.

    Thank you to anyone who can help!!

    Allie

    ***********************************************************
    body {
    background-color: #000000;
    }
    a:link {
    text-decoration: none;
    color: #000000;
    }
    a:visited {
    text-decoration: none;
    color: #000000;
    }
    a:active {
    text-decoration: none;
    color: #000000;
    }

    }
    body,td,th {
    color: #000000;
    }
    .style3 {font-size: 9px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF}
    .style5 {font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color:#000000 }
    .style6 {font-size: 10px}
    .style7 {font-family: Verdana, Arial, Helvetica, sans-serif}

    a:link {
    text-decoration: none;
    }
    a:hover {
    color: #0099FF;
    }

  2. #2
    Join Date
    Nov 2006
    Posts
    593
    Ooh...figured out how to do it. By creating a special class for that "div". Thanks!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles