Copy link to clipboard
Copied
Thank you in Advance!!
I have setup pages, linked the template to those pages by clicking on the "compass."
I have done this for every page (like I have in the past).
HOWEVER, this time it is not working. Can someone please help me?
Here is my code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Twisted Flow Show Supply</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style>
.menu td {
text-align: center;
padding: 0 15px;
}
.menu a {
color: yellow;
text-decoration: none;
}
.menu a:hover {
color: white;
text-decoration: underline;
}
.menu a.active {
color: red;
}
</style>
<style type="text/css">
body {
background-image: url(../Images/flame-background.jpg);
}
</style>
<link href="../CSS/TFFS layout2.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
<div class="logo">
<div align="center"><img src="../Images/website logo.JPG" width="351" height="214" alt="TWSS website logog"></div>
<div class="sang">
<div align="center">Be Original</div>
<div class="navigation"><table width="100%" border="2">
<tr>
<td><div align="center"><a href="../index.html">Home</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/products.html">Products</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/awards.html">Awards</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/combs.html">Combs</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/blow dryers.html">Blow Dryers</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/powder coating.html">Powder Coating</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/contact.html">Contact</a></div></td>
<td><div align="center"><a href="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/shop.html">Shop</a></div></td>
</tr>
</table></div>
<p align="center"><img src="../Images/american flag.jpg" alt="American Flag" width="138" height="82" align="middle"></p>
<p align="center">Our products are proudly made in America <br>
All raw materials are purchased locally or through US companies <br>
Motors are purchased from a US company
</p>
<div class="information">
<div align="right">
<hr width="1000" size="2" noshade>
<p>
</p>
</div>
<div class="content"><!-- TemplateBeginEditable name="ContentArea" --><!-- TemplateEndEditable --></div>
</div>
<div class="footer">
<hr width="1000" size="2" noshade>
<h2><a href="https://www.facebook.com/twistedflowshowsupply"><img src="file:///C|/Users/Owner/Desktop/Web Sites/Twisted Flow Show Supply TFSS/Images/Facebook Link.jpg" width="176" height="52" alt="Facebook Link" longdesc="https://www.facebook.com/twistedflowshowsupply"></a> <em>more photos of products are available on Facebook</em>!</h2>
<p>Copyrighted 2019. All rights reserved.</p>
<p>Website designed and managed by Janelle Sack.</p>
<p>Patent Information:<BR>
Blow Dryer: 8,631,767<BR>
Combs: D704,905 and other patents pending</p>
<p>Policies and Notifications<br>
Twisted Flow is no responsible for fires caused by altering the design of the dryer or the hoses.<br>
Not responsible for damages caused by the 1.5"
end whip being longer than 6' </p>
</div>
</div>
</div>
</div>
</div>
<p> </p>
</body>
</html>
Please explain what is not working.
Are you receiving error messages?
As a test, go to File > New > Site Templates. Pick a site & template.dwt. Hit Create button. See screenshot.
Copy link to clipboard
Copied
what seams curious and should be corrected any way... (not related to your question)
Copy link to clipboard
Copied
What if I just rename the folder to TFSS instead of adding the _?
Copy link to clipboard
Copied
Yes I believe this is correct
Copy link to clipboard
Copied
Please explain what is not working.
Are you receiving error messages?
As a test, go to File > New > Site Templates. Pick a site & template.dwt. Hit Create button. See screenshot.
Copy link to clipboard
Copied
When you go to my actual website, www.twistedflow.com, the navigation will not do anything once clicked. I cannot change pages or anything.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
As Nancy says links are pointing to local files on your computer, as Dreamweaver template files are in a sub folder the links in your template file should be changed like the example below (assuming all the pages are in your root folder), save the template and update all pages linked to it:
<table width="100%" border="2">
<tr>
<td><div align="center"><a href="../index.html">Home</a></div></td>
<td><div align="center"><a href="../products.html">Products</a></div></td>
<td><div align="center"><a href="../awards.html">Awards</a></div></td>
<td><div align="center"><a href="../combs.html">Combs</a></div></td>
<td><div align="center"><a href="../blow dryers.html">Blow Dryers</a></div></td>
<td><div align="center"><a href="../powder coating.html">Powder Coating</a></div></td>
<td><div align="center"><a href="../contact.html">Contact</a></div></td>
<td><div align="center"><a href="../shop.html">Shop</a></div></td>
</tr>
</table>
You should only really be using tables for data these days, but thats a different issue ...
Copy link to clipboard
Copied
Here is the file setup when I look up the web files on my computer
When I click on the
And select which file I want
That's the files DW sets up. I know it's doing what I'm telling it too, but HOW do I fix this?
Thank you!
Copy link to clipboard
Copied
You have a lot of code errors in your markup, some of them are critical. DW does not like code errors. You should fix those first.
Showing results for http://www.twistedflow.com/ - Nu Html Checker
Copy link to clipboard
Copied
Thank you! I will look these over and try to get them fixed.
It's been awhile since I had to build a website (my computer crashed and as I tried to update my website I had these problems).
Thank you Nancy!!
Copy link to clipboard
Copied
Can I ask you some other rookie questions as well?
I have three files attached to my template:
Which file(s) should the following code be inserted in (if any of these)?
Copy link to clipboard
Copied
Site wide CSS code normally goes inside an external CSS file to which your main HTML documents are linked. Currently, you have 2 external stylesheets -- TFFS layout2.css and stylesheet.css.
The code in your screenshot is wrapped with <style> tags which means it's embedded directly into your main document. It's OK to leave it there but probably makes more sense to move into your external stylesheet. If you ever change link colors later, it's much easier to edit 1 file instead of many.
Copy link to clipboard
Copied
TFSS stylesheet code
@charset "utf-8";
@import url("../webfonts/MV_Boli/stylesheet.css");
.container {
font-family: Tahoma, Geneva, sans-serif;
font-size: 14pt;
background-image: url(../Images/flame-background.jpg)
margin-right: auto
margin-left: auto;
}
.sang {
font-family: "MV Boli";
font-size: 24pt;
color: #FFF;
}
.navigation {
font-family: Tahoma, Geneva, sans-serif;
font-size: 16px;
color: #FF0;
padding-left: 90px;
padding-right: 80px;
}
.america {
width: 300px;
font-size: 12pt;
font-family: Tahoma, Geneva, sans-serif;
}
.information {
font-size: 12pt;
}
.content {
font-size: 14pt;
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
padding-left: 90px;
padding-right: 90px;
}
.footer {
font-size: 9pt;
font-family:Verdana, Geneva, sans-serif;
}
stylesheet code:
@font-face {
font-family: 'MV Boli';
src: url('mvboli.ttf') format('truetype');
}
HOW can I combine these two?
AND where would the source code's code need to go in the TFSS stylesheet?
Thank you!!
Copy link to clipboard
Copied
If you have to ask that question, you should review code fundamentals.
HINT: Cut & paste your .menu styles below .container styles. Delete the <style> tags from your HTML document. Save both documents.
Copy link to clipboard
Copied
Thank you!
It's been years since I've done this....