Solved

template link color DW CS4

Posted on 2010-09-01
7
366 Views
Last Modified: 2012-05-10
I have made a template in DW CS4 and my left nav buttons in orange (#f60) for link, and visited and white for active and hover. Hover state is the only state that should be underlined. When I create a page from this template all of my links are blue with underlines. I know there is a problem with the code but I don't know what it is. Do you?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../Styles/main.css" rel="stylesheet" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>EVO-5S</title>
<style type="text/css"> 
<!-- 
a:link {
	color: #F90;
	text-decoration: none;
	background-color: #000;
}
a:visited {
	color: #F90;
	text-decoration: none;
}
a:hover {
	color: #FFF;
	text-decoration: underline;
}
a:active {
	color: #FFF;
	text-decoration: none;
}
a {
	font-size: small;
}
li {
	color:#900;
}
ul {
	color:#F60;
}
-->
</style>
<!-- TemplateParam name="navigation" type="boolean" value="true" -->
</head>

<body class="twoColFixLtHdr">

<div id="container">
  <div id="header">
    <h1 align="center"><img src="../images/bdl home page optimized/images home/headersm.jpg" width="745" height="160" /></h1>
  <!-- end #header --></div>
<div id="sidebar1";>
    <ul style="color:#900">
      <li><a href="../index.html">Home</a></li>
      <li><a href="../about us.html">About Us</a></li>
      <li><a href="http://www.bdlsales.com" target="_blank">Store</a></li>
      <li><a href="../opndr.html">Open Drives</a></li>
      <li><a href="../closeddr.html">Closed Drives</a></li>
      <li><a href="../belts.html">Belts</a></li>
      <li><a href="../clutches.html">Clutches</a></li>
      <li><a href="../pulleys.html">Trans/Rear Pulleys</a></li>
      <li><a href="../controls.html">Brakes/Controls</a></li>
      <li><a href="../misc.html">Accessories</a></li>
      <li><a href="../misc.html">Install Guides/Warranties</a></li>
      <li><a href="http://www.youtube.com/user/BDLTECH">Training Videos</a></li>
      <li><a href="../faqs.html">FAQ's</a></li>
      <li><a href="../Install Guides/PDF files/Belt Drives MAP.pdf">MAP Policy</a></li>
      <li><a href="../problem.html">Troubleshoot</a></li>
      <li><a href="../dist2.html">Distributors</a></li>
      <li><a href="../Install Guides/PDF files/xref.pdf">Parts Cross Reference</a></li>
      <li><a href="../contact.html">Contact Us</a></li>
    </ul>
    <div align="center"><a href="http://www.youtube.com/user/BDLTECH" target="_blank"><img src="../images/bdl home page optimized/images home/youtube-link.gif" width="101" height="31" alt="YouTube" /></a></div>
  </div>
  
  <!-- end #sidebar1 -->
  <!-- TemplateBeginEditable name="main content" -->
  <div id="mainContent">
    <h1> EVO-5S </h1>
    <h2 align="center">8MM 3&quot; FITS SOFTAIL <br />
      <img src="../images/Open Belt Drive Images/v2 EVO 5S.jpg" alt="EVO-5S" width="489" height="326" />(KICK-START ONLY)</h2>
    <p align="center">&nbsp;</p>
    <p align="center">Our 3” drives are made out of 356-T6 aluminum, all  pulleys are cast in our own foundry and completely machined in house.  Our ongoing quality control ensures that every pulley will be exact in  every aspect, as our customers have come to expect. These drives are  supplied with our “Competitor Clutch” and spring pressure plate. Kit’s  fits 1990-2006 Rubbermount kick-start only.</p>
    <div align="center">
      <h2>KIT BREAKDOWN </h2>
    </div>
    <div class="table" id="table parts data">
      <div align="center">
        <table border="1" cellspacing="2" cellpadding="2">
          <tr>
            <td>&nbsp;</td>
            <td><b>DESCRIPTION</b></td>
            <td><b>BDL PART NO.</b></td>
          </tr>
          <tr>
            <td class="partid" ="partid">A</td>
            <td>3 Rubber Belt 132 Tooth</td>
            <td>BDL-132-3</td>
          </tr>
          <tr>
            <td class="partid">B</td>
            <td>48 Tooth Front Pulley</td>
            <td>48-OFP</td>
          </tr>
          <tr>
            <td class="partid">C</td>
            <td>72 Tooth Kick Only 3" Basket</td>
            <td>72K-3</td>
          </tr>
          <tr>
            <td class="partid">D</td>
            <td>Front Pulley Washer</td>
            <td>WA-2</td>
          </tr>
          <tr>
            <td class="partid">E</td>
            <td>Front Pulley Nut</td>
            <td>FHN-2</td>
          </tr>
          <tr>
            <td class="partid">F</td>
            <td>Pressure Plate</td>
            <td>EPP-100</td>
          </tr>
          <tr>
            <td class="partid">G</td>
            <td>Shoulder Bolts</td>
            <td>ESB-100</td>
          </tr>
          <tr>
            <td class="partid">H</td>
            <td>Clutch Springs</td>
            <td>ECS-100</td>
          </tr>
          <tr>
            <td class="partid">I</td>
            <td>Standard Spline Offset Insert</td>
            <td>IN-STD</td>
          </tr>
          <tr>
            <td class="partid">J</td>
            <td>Complete Clutch Kit Used for all <br />
              BDL Belt Drives</td>
            <td>ERCPS-100</td>
          </tr>
          <tr>
            <td class="partid">K</td>
            <td>Hub Nut with Seal</td>
            <td>HNS-100</td>
          </tr>
          <tr>
            <td class="partid">L</td>
            <td>Clutch Adjusting Screw</td>
            <td>CDAS-100</td>
          </tr>
        </table>
      </div>
    </div>
    <h2 align="center">EV-180</h2>
    <p align="center"><img src="../images/Hubs/v2 EV180.jpg" alt="EV-180" width="233" height="233" /></p>
    <div class="table" id="table parts data">
      <table border="1" align="center" cellpadding="2" cellspacing="2">
        <tr>
          <td>&nbsp;</td>
          <td><b>DESCRIPTION</b></td>
          <td><b>BDL PART NO.</b></td>
        </tr>
        <tr>
          <td class="partid" ="partid">D</td>
          <td>Inner Hub (parts below included <br />
          with EV-180)</td>
          <td>EV-180</td>
        </tr>
        <tr>
          <td class="partid" ="partid">D1</td>
          <td>Step Washer & Screws</td>
          <td>ESW-1</td>
        </tr>
        <tr>
          <td class="partid" ="partid">D2</td>
          <td>C-Clip for Backside of Hub</td>
          <td>CC-158</td>
        </tr>
      </table>
      <p>&nbsp;</p>
    </div>
    <div align="right">
      <div class="nextpages">
        <table border="0" cellspacing="5">
          <tr>
            <td width="47"><img src="../images/Misc Images/images/images/previous.gif" width="47" height="12" alt="previous" /></td>
            <td width="51"><img src="../images/Misc Images/images/images/Next.gif" width="47" height="12" alt="next" /></td>
          </tr>
        </table>
      </div>
    </div>
  </div>
  <!-- TemplateEndEditable -->
  <div align="center">
	  <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
	  <br class="clearfloat" />
  </div>
<div id="footer">
    <p align="center">&copy;2010  All Rights Reserved. Belt Drives LTD. 5500 E. La Palma Ave. Anaheim, CA 92807 PH: 714.693.1313<br />
      Site design by Momentum - Marketing Through Media </p>
    <div align="center">
      <!-- end #footer -->
    </div>
  </div>
  
  <!-- end #container --></div>
</body>
</html>

Open in new window

0
Comment
Question by:chopperchic
  • 3
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Snarfles
ID: 33583052
Looks like described to me in firefox and ie8... what browser are you using?
0
 

Author Comment

by:chopperchic
ID: 33583074
Both IE8 and Firefox
0
 
LVL 9

Expert Comment

by:Snarfles
ID: 33583105
I guess it iss a problem with the page that is created when you create a template... as this code works. Look at the code of the template page and see if it has the styles at the top. Perhaps post it here as well.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:chopperchic
ID: 33583624
I have posted it.
0
 
LVL 10

Accepted Solution

by:
Kechka earned 500 total points
ID: 33583771
Looks good to me, maybe because I don't have your external css file. Try to remove the line
<link href="../Styles/main.css" rel="stylesheet" type="text/css"/>
and check.
0
 

Author Comment

by:chopperchic
ID: 33587062
That was it! You're a genius! Thank you so much!!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question