2 Replies Latest reply on Aug 5, 2008 8:53 AM by Newsgroup_User

    Underline???

    cripaustin Level 1
      Hi. This is a CSS style on my site:

      .otherLink {
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-size: 10px;
      font-weight: bold;
      color: #0066CC;
      text-decoration: underline;

      ....soo...what happens is that the words with this style are underlined if they are not hyperlinks...but arn't underlined if they are??? My page properties are set to always underline hyperlinks...BUT. my hyperlinks are never underlined? why is this? Thanks

      }
        • 1. Re: Underline???
          Level 7
          > but arn't underlined if they are???

          That must mean that you have a pseudo-class rule in your stylesheet that
          overrides this. We would need to see your whole stylesheet to know....

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "cripaustin" <webforumsuser@macromedia.com> wrote in message
          news:g79rl9$p24$1@forums.macromedia.com...
          > Hi. This is a CSS style on my site:
          >
          > .otherLink {
          > font-family: Verdana, Arial, Helvetica, sans-serif;
          > font-size: 10px;
          > font-weight: bold;
          > color: #0066CC;
          > text-decoration: underline;
          >
          > ....soo...what happens is that the words with this style are underlined if
          > they are not hyperlinks...but arn't underlined if they are??? My page
          > properties are set to always underline hyperlinks...BUT. my hyperlinks are
          > never underlined? why is this? Thanks
          >
          > }
          >

          • 2. Re: Underline???
            Level 7
            On Tue, 5 Aug 2008 15:29:45 +0000 (UTC), "cripaustin"
            <webforumsuser@macromedia.com> wrote:

            >Hi. This is a CSS style on my site:
            >
            > .otherLink {
            > font-family: Verdana, Arial, Helvetica, sans-serif;
            > font-size: 10px;
            > font-weight: bold;
            > color: #0066CC;
            > text-decoration: underline;
            >
            > ....soo...what happens is that the words with this style are underlined if
            >they are not hyperlinks...but arn't underlined if they are??? My page
            >properties are set to always underline hyperlinks...BUT. my hyperlinks are
            >never underlined? why is this? Thanks
            >
            > }


            as Murray says - there is another style affecting it.

            try this
            the a after otherLink will help target the link text
            .otherLink a {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 10px;
            font-weight: bold;
            color: #0066CC;
            text-decoration: underline; }

            --

            ~Malcolm~*...
            ~*