Copy link to clipboard
Copied
I've had a Dreamweaver site for about 12 years, but this is something I can't figure out.
On this page Homeschool Speech and Debate
there is an image of a book cover -- The Fallacy Detective.
I think I found the code for this on one of the tabs.
I want the words under the image to say the title of the book and link to my affiliate link for that book on Amazon.
This is how I wrote the code but it doesn't work. What should the code be?
Your help would be greatly appreciated. I am old but I will give you a million dollars if you can help.
<p class="ImageRight"><a href="http://www.triviumpursuit.com/store/product.php?product=11"><img src="http://www.triviumpursuit.com/images/christianlogic_catalog_thefallacydetective_2014_cover_medium.pn..." width="168" height="230" border="0" /><br />
<a target="_blank" href="https://www.amazon.com/gp/product/097453157X/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeAS...">The Fallacy Detective: Thirty-Eight Lessons on How to Recognize Bad Reasoning</a><img src="//ir-na.amazon-adsystem.com/e/ir?t=trivium0d-20&l=am2&o=1&a=097453157X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></a></p>
Copy link to clipboard
Copied
Try
<p class="ImageRight">
<a target="_blank" href="https://www.amazon.com/gp/product/097453157X/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325& creativeASIN=097453157X&linkCode=as2&tag=trivium0d-20&linkId=bc010dfd1a2b40954223654790802 58b">
<img src="http://www.triviumpursuit.com/images/christianlogic_catalog_thefallacydetective_2014_cover _medium.png" width="168" height="230" border="0" /><br />
The Fallacy Detective: Thirty-Eight Lessons on How to Recognize Bad Reasoning
</a>
</p>
Please note that you are not allowed to nest an anchor inside an anhor
Copy link to clipboard
Copied
Thank you.
1. What does this mean: "Please note that you are not allowed to nest an anchor inside an anhor"
2. The name of the page I'm working on is index.php (it's the index page for the speech and debate category). I am in Standard mode. At the top are 5 tabs: source code, head.php, header.php, christianlogic_add.php, footer.php. I can work on the text of the index page when I have the "source code" tab clicked.
If I click on "head.php" it says, "head.php is not on the local disk." If I click on "header.php" it says, "header.php is not on the local disk." Same with "footer.php". If I click on "christianlogic_add.php" I get the code I think is for that image of the book cover, so I pasted your suggested code and saved.
If I make changes to any of the text of the page and then "put," the changes are made properly to the web site, except the changes to the image don't take. I must need to "put" on something else.
This statement is also at the top of the page, "This page may have dynamically-related files that can only be discovered by the server."
Copy link to clipboard
Copied
An anchor is an <a> tag or link. You cannot nest anchors. That means you must close links before you can start new ones.
Copy link to clipboard
Copied
1. The code that you gave us to have a look at shows a nested anchor element
<p class="ImageRight">
<a href="http://www.triviumpursuit.com/store/product.php?product=11">
<img src="http://www.triviumpursuit.com/images/christianlogic_catalog_thefallacydetective_2014_cover _medium.png" width="168" height="230" border="0" />
<br />
<a target="_blank" href="https://www.amazon.com/gp/product/097453157X/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325& creativeASIN=097453157X&linkCode=as2&tag=trivium0d-20&linkId=bc010dfd1a2b40954223654790802 58b">
The Fallacy Detective: Thirty-Eight Lessons on How to Recognize Bad Reasoning
</a>
<img src="//ir-na.amazon-adsystem.com/e/ir?t=trivium0d-20&l=am2&o=1&a=097453157X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</a>
</p>
The red anchor is inside the blue anchor. This is illegal.
2. This looks like a problem with site setup. Have a look at Learn about Dreamweaver sites
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more