Improve company productivity with a Business Account.Sign Up

x
?
Solved

template link color DW CS4

Posted on 2010-09-01
7
Medium Priority
?
377 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
6 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
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 

Author Comment

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

Accepted Solution

by:
Kechka earned 2000 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

607 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