Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

image on one of my pages

New Here ,
Jan 07, 2017 Jan 07, 2017

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>

668
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 07, 2017 Jan 07, 2017

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2017 Jan 08, 2017

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."

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2017 Jan 08, 2017

An anchor is an <a> tag or link.  You cannot nest anchors.  That means you must close links before you can start new ones.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2017 Jan 08, 2017
LATEST

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines