1 Reply Latest reply on Apr 30, 2010 10:25 AM by Nancy OShea

    Links in AP divs

    elissag

      There is a bottom nav bar on the intranet site that I'm working on. This nav bar is in an AP div, and I want to add links to the text (i.e., Contact Us, Trivia, Home). I added an href tag to Home and the link worked; however, the text in the bottom nav bar is changed color and is now underlined. Does anyone know how to solve this or a better way to add links to an AP div?

       

      Thanks.

        • 1. Re: Links in AP divs
          Nancy OShea Adobe Community Professional & MVP

          Linked text assumes the default style defined in your CSS code.  If no link styles are defined, you get the standard browser default which is blue and underlined.

           

          To define links with CSS, add the following to your stylesheet (change colors to suit your site):

           

          a {/**all links**/

          text-decoration:none

          }

           

          a:link {/**unvisited links**/

          color: red;

          }

           

          a:visited {/**visited links**/

          color: gray;

          }

           

          a:hover,

          a:active,

          a:focus {/**on mouseover, onclick, onfocus**/

          color: green;

          text-decoration:underline;

          }

           

          Nancy O.
          Alt-Web Design & Publishing
          Web | Graphics | Print | Media  Specialists
          http://alt-web.com/
          http://twitter.com/altweb
          http://alt-web.blogspot.com