1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Web Design change navigation background image for each page

Discussion in 'Web Design' started by apesman, Jun 23, 2008.

  1. apesman

    apesman New Member

    Hi,
    I am using the "media" template and have created 4 different pages to match the 4 navigation links on the template. What I want to do is to alter the background image of the links so that if I click on a nav link to go to page 2, on page 2 the nav link for page 2 is highlighted, and the same for all pages.

    Thanks for your help.
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Simple - just look at the code,

    HTML:
     
    <div id="nav">
              <ul>
                <li class="drk"><a href="http://www.freewebsitetemplates.com">Home</a></li>
                <li><a href="http://www.freewebsitetemplates.com">About Us</a></li>
                <li><a href="http://www.freewebsitetemplates.com">Services</a></li>
                <li><a href="http://www.freewebsitetemplates.com">Contact us</a></li>
              </ul>
              <div class="clear"> </div>
            </div>
    
    do you see this part <li class="drk"> pointing to the home page?
    what do you think would happen if you took the command out of that line and say put it in the about line of code! and then again for all of your links.;)