Results 1 to 2 of 2

Thread: Please help with this stylesheet . . .

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please help with this stylesheet . . .

    I'm using the Dynamic Drive Menu Generator, found here:

    http://www.dynamicdrive.com/dynamici.../generator.htm

    The SOLID BLOCK menu is the one I'm using. The problem I'm having doesn't seem to show up on that website, but it does on mine . . .

    The website is www.moproauto.net

    The RED letters (GRAPHICS, SPOILERS, etc.) stay red until you click them, then they stay WHITE . . . its like once the site goes into your cache, the letters will stay WHITE until you clear your internet history, then they go back to RED . . . I need the TEXT to stay WHITE all the time . . .

    Here is TOPBAR.CSS

    .solidblockmenu ul{
    margin: 0;
    padding: 0;
    float: left;
    font: bold 13px Arial;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1em;
    border: 1px solid #625e00;
    border-width: 1px 0;
    background: black url(blockdefault.gif) center center repeat-x;
    }

    .solidblockmenu li{
    display: inline;
    }

    .solidblockmenu li a{
    float: left;
    color: white;
    padding: 9px 11px;
    text-decoration: none;
    border-right: 1px solid white;
    }

    .solidblockmenu li a:visited{
    color: white;
    }

    .solidblockmenu li a:hover, .solidblockmenu li a.selected{
    color: white;
    background: transparent url(blockactive.gif) center center repeat-x;
    }

    If I completely take out the ".solidblockmenu li a:visited" section, the letters just stay RED, even after you visit them . . .

    I'm assuming the text color should be correct (WHITE), but for some reason comes up RED on all browsers I'm using until you click the link . . .

    Any ideas???


    Jeremy
    www.moproauto.net

    EDIT: Found the fix . . . the main stylesheet for the website was overriding the CSS for that menu, I changed it from RED to WHITE and that fixed it - so there wasn't an error in the CSS.
    Last edited by MoProAuto; 01-30-2010 at 06:35 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try:
    Code:
    .solidblockmenu li a:visited, .solidblockmenu li a:active{
    color: white;
    }
    Jeremy | jfein.net

Bookmarks

Posting Permissions

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