SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Link not being clickable!

    I have a link inside an image. Every thing looks fine w/ the code but on the website, it does not click. I have force refreshed. Any ideas why? Thanks

    I have the link w/ issues highlighted (bold & underlined too) below.

    HTML:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "html://www.w3.org/TR/xhtm1/DTD/xhtml-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>Colorado plumbing - GreenPlumbing</title>
        <meta http-equiv="Content-Type"
             content="text/html; charset=utf-8"/>
        <link href="gpstyle.css" rel="stylesheet" type="text/css"/>
      </head>
      <body>
    <div id="wrapper">
       <div id="header">
        <a href="index.html">
    <img src="images/gplogo.png" class="logo"
      width="540" height="80"
         alt="BeGreenPlumbing logo"/>         
         <div id="tagline"></a>
      Maximum Quality<br/>Minimum Waste<br/>Reasonable Price
         </div> <!-- end of tagline div -->
      </div> <!-- end of header div -->
    <div id="navmenu">
      <ul>
        <li><a href="index.html">Home</a></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="contact.html">Contact Us</a></li>
        <li><a href="services.html">Services</a></li>
        <li><a href="testimonies.html">Testimonies</a></li>
        <li><a href="faq.html">FAQ</a></li>
    </div> <!-- end of navmenu div --> 
    <div id="bodycontent">
    <div id="main">
        <h2>Testimonies</h2>
    <p><h3>We want to hear from you. Tell us what you think of GreenPlumbing.</h3></p>
    <p><h3>Go to any of these sites below to review us.</h3></p>
     <ol>
      <a href="http://maps.google.com/maps?hl=en&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&biw=1089&bih=615&q=begreenplumbing&um=1&ie=UTF-8&ei=LCWfT_jmIqbS2QW99oSODw&sa=X&oi=mode_link&ct=mode&cd=3&ved=0CDEQ_AUoAg">
    <img src="images/googleplaces.png"
    alt="google places" />
    </a>
        <a href="http://www.yelp.com/writeareview/biz/fUbpXqyLftB5nfCnLNi2Og?return_url=%2Fbiz%2FfUbpXqyLftB5nfCnLNi2Og">
          <img src="images/yelp.png"
          alt="Yelp" />
        <a href="http://www.bbb.org/southern-colorado/business-reviews/plumbing-contractors/green-plumbing-in-colorado-springs-co-87345291">
          <img src="images/bbb.png"
          alt="Better Business Bureau" />
        </a>
        </a></br>
            <a href="http://www.merchantcircle.com/business/Green.Plumbing.719-477-3217#feedback-reviews">
          <img src="images/mc.png"
          alt="MerchantCircle" />
        </a>
          <a href="http://www.elocalplumbers.com/view-profile/green-plumbing-70576">
          <img src="images/elocal.png"
          alt="ElocalPlumbers" />
        </a>
          <a href="http://www.talkofthetownnews.com/awards2012/7194773217">
          <img src="images/talkofthetown.png"
          alt="Better Business Bureau" />
        </a>
      </ol>
      <p><h3>See what others have already said about us.</h3></p>
      <div id="reviews">
        <p>"Very pleased with Green Plumbing. They were honest, had fair prices, were very professional, clean, on time and did a quality job. I would highly recommend Green Plumbing to my friends and relatives."</p>
        <ul><p>Mrs. John Amprahan </br>Very Satisfied</p></ul>
        <li><p>"Green Plumbing installed our kitchen sink hardware, performed some basic carpentry work and other plumbing repairs. We were happy with the work and the price we were quoted and paid. We would recommend them to others as well."</p>
        <ul><p>Satisfied Customer </br>Colorado Springs</p></ul></li>
        <p>"Very Good Service...Very Satisfied"</p>
        <ul><p>Mrs. V. Bridgman </br>Customer</p></ul>
        <li><p>"Green Plumbing installed some toliets for us. They were very helpful & courteous. They did a great job and were very happy with the work."</p>
        <ul><p>C. B. </br>Customer</p></ul></li>
        <p>"Green Plumbing was very impressive. Jeff Silverberg was helpful, honest and did a great job. The prices were good and I was very impressed with everything they did for me."</p>
        <ul><p>Vern Ashcraft </br>Satisfied Customer</p></ul>
        <li><p>"That's a mold-breaker. Great thinking!"</p>
        <ul><p>Chelsia </br> Customer</p></ul></li>
        <p>"We had to have one of our toilets replaced several months ago and Jeff was able to come out right away. We haven't had any problems. So, when another toilet needed fixing, we called Jeff and he was able to come out the same day. Green Plumbing is affordable and Jeff is an honest man. I don't think you will be disappointed!"</p>
        <ul><p>Toni S </br>Great Service</p></ul>
        <li><p>"Green Plumbing does superb work! They have a can-do, strong midwestern work ethic that is clearly shows by the honest, fair and reasonable price of their work. This company is not your average plumber that is just out to make a quick buck! These guys are the real deal, they really care about you and your satisfaction when they are done. I wholeheartedly recommend them to anyone who needs an honest plumber that does first-class work!"</p>
        <ul><p>Dan Dueber </br>President</p></ul></li>
    </div> <!-- end of reviews div -->
    </div> <!-- end of main div -->
    <div id="widget">
       <p><h3>What You Can Expect From Green Plumbing</h3></p>
    <p><h4>100% SATISFACTION GUARANTEE</h4></p>
    <p>You'll never be disappointed with our Service.</p>
    <p>We guarantee you'll be pleased, no matter what it takes.</p>
     <p><h4>Prices Quoted In Advance</h4></p>
    <p>We'll give you the price, guarantee the price, and guarantee the work.</p>
    <p>That way there are no surprises. That’s the way we do business.</p>
     <p><h4>PROFESSIONAL SERVICE</h4></p>
    You deserve the comfort and peace of mind that comes with having a professionally maintained system. We use only the finest quality products and the most skilled technicians. When you call Green Plumbing, you can be confident that you will have the most professional people in the plumbing service industry today.</p>
    </div> <!-- end of widget div -->
    <div id="widget2">
      <div id="cards">
      <li><h3>We accept credit cards!</h3>
    <img src="images/cards.png" class="cards" alt="Credit Cards" />
    </br><h5 class="list">Mastercard, Visa, Discover,</br> & American Express</h5></li>
    </div> <!-- end of cards div -->
    <div id="bbb">
    <li><h3>Visit us on the BBB</h3>
      <a href="http://www.bbb.org/southern-colorado/business-reviews/plumbing-contractors/green-plumbing-in-colorado-springs-co-87345291">
      <img src="images/bbb1.png" class="bbb" alt="Better Business Beruea"/>
    </a>
      <p><h5>BBB Rating: A- </br> Also review us at the BBB!</h5></p></li>
    </div> <!-- end of bbb div -->
    </div> <!-- end of widget2 div -->
        </div> <!-- end of bodycontent div -->
    <div id="footer">
    <div id="verse">
    <p>A good name is rather to be chosen<br/>than great riches. - Proverbs 22:1</p> 
    <!-- end of verse div -->
    <div id="links">
    <a href="contact.html">
    Contact
    </a><br/>
    <a href="about.html">
    About Us
    </a>
    <!-- end of links div -->
    <h3>Connect With Us</h3>
    <div id="social">
    <p><a href="http://www.linkedin.com/pub/jeff-silverberg/45/194/901">
    <img src="images/linkedin.png" alt="HTML tutorial" width="32" height="32" alt="linkedin.com" />
    </a>
    <a href="http://www.facebook.com/GreenPlumbingColorado">
    <img src="images/facebook.png" alt="HTML tutorial" width="32" height="32" alt="facebook.com" />
    </a>
    <a href="http://www.merchantcircle.com/business/Green.Plumbing.719-477-3217">
    <img src="images/merchantcircle.png" alt="HTML tutorial" width="32" height="32" alt="merchantcircle.com" />
    </a>
    <a href="https://twitter.com/#!/greenplumbingus">
    <img src="images/twitter.png" alt="HTML tutorial" width="32" height="32" alt="twitter.com" />
    </a><a href="https://plus.google.com/u/0/113081403707609823213/posts">
    <img src="images/googleplus.png" alt="HTML tutorial" width="32" height="32" alt="plus.google.com" />
    </a></p>
    <!-- end of social div -->
     <h5>Copyright  GreenPlumbing</h5>
    <!-- end of footer div --> 
    </div> <!-- end of wrapper div -->
      </body>
    </html>
    Last edited by Stevie D; May 10, 2012 at 14:01. Reason: Code tags added

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    The first problem I can see is that your code is riddled with mistakes – missing closing tags, elements that aren't allowed where you've used them, and so on. I strongly suggest running your code through validator.w3.org and fixing the output first. Invalid (X)HTML can often mean that browsers try to guess what you were intending, and they don't always get it right. It's quite possible that once you get all the elements nested correctly, the problem will resolve itself.

    (You'll see a lot of errors there that you can solve very quickly – any time you have & in a URL, you need to replace it with &amp;. That will help slim down the number of errors!)

    When you've done that, it would be more helpful if you could give us a link to a live page where we can see the page as it really is (and with its stylesheet) – sometimes these kinds of problems can be caused by the CSS layering invisible elements over a link.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •