Help Please

Discussion in 'HTML & Website Design' started by jon2k6, Jul 24, 2007.

  1. #1
    jon2k6, Jul 24, 2007 IP
  2. pruad

    pruad Peon

    Messages:
    71
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try to remove text-decoration: underline; from body ( www. gervaisworld.com/ricky-gervais-audio.html ):

     
    pruad, Jul 24, 2007 IP
  3. jon2k6

    jon2k6 Guest

    Messages:
    602
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeh but it happens on some other pages as well, also it's all in an external css file so no need to define the fact it's css.

    Also I need the normal links on my pages to be underlined, so if I remove that from the body then the normal links will lose the underline.
     
    jon2k6, Jul 24, 2007 IP
  4. grimsqueaker

    grimsqueaker Peon

    Messages:
    551
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That's weird, I can't tell what's wrong.

    But try this fix.

    When you write a a href tag, insert 'class="nav"' in there.
    ie: <a href="http://www.url.com" class="nav">

    Then in your css file do this:

    a.nav:link {
    color: #000000;
    text-decoration: none;
    }

    edit: I see what you might be doing wrong. You've got two stylesheets! You're calling an external one (css.css) but you're also defining css values within the page itself. Get rid of the css in the page. For ex you hvae this:

    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    <!--
    a:link {
    color: #767676;
    }
    a:visited {
    color: #767676;
    }
    a:active {
    color: #767676;
    }
    a:hover {
    color: #94C258;
    }
    .style42 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    }
    body,td,th {
    color: #000000;
    }
    -->
    </style>

    <!-- InstanceEndEditable -->

    On http://www.gervaisworld.com/donate.html

    But you're already taking the css from your external css file. Get rid of it.
     
    grimsqueaker, Jul 24, 2007 IP
  5. jon2k6

    jon2k6 Guest

    Messages:
    602
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i've already defined the navigation styles in the css and the links in the navigation are all in a <div class> defined in the css for the menu.
     
    jon2k6, Jul 24, 2007 IP
  6. grimsqueaker

    grimsqueaker Peon

    Messages:
    551
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yeah, you need to take this out:

    from here: http://www.gervaisworld.com/ricky-gervais-audio.html

    And this out:

    from here: http://www.gervaisworld.com/donate.html

    Since you've defined the div class for the navigation, that should work.
     
    grimsqueaker, Jul 24, 2007 IP
  7. jon2k6

    jon2k6 Guest

    Messages:
    602
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yep, that was the problem. Didn't even notice that css in the template.

    Thanks alot!
     
    jon2k6, Jul 24, 2007 IP
  8. grimsqueaker

    grimsqueaker Peon

    Messages:
    551
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Awesome, it look great! Glad I could help.
     
    grimsqueaker, Jul 24, 2007 IP