SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2011
    0 Post(s)
    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.


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    <html xmlns="">
        <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"/>
    <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">
        <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">
    <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>
      <a href=",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 href="">
          <img src="images/yelp.png"
          alt="Yelp" />
        <a href="">
          <img src="images/bbb.png"
          alt="Better Business Bureau" />
            <a href="">
          <img src="images/mc.png"
          alt="MerchantCircle" />
          <a href="">
          <img src="images/elocal.png"
          alt="ElocalPlumbers" />
          <a href="">
          <img src="images/talkofthetown.png"
          alt="Better Business Bureau" />
      <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="">
      <img src="images/bbb1.png" class="bbb" alt="Better Business Beruea"/>
      <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">
    <a href="about.html">
    About Us
    <!-- end of links div -->
    <h3>Connect With Us</h3>
    <div id="social">
    <p><a href="">
    <img src="images/linkedin.png" alt="HTML tutorial" width="32" height="32" alt="" />
    <a href="">
    <img src="images/facebook.png" alt="HTML tutorial" width="32" height="32" alt="" />
    <a href="">
    <img src="images/merchantcircle.png" alt="HTML tutorial" width="32" height="32" alt="" />
    <a href="!/greenplumbingus">
    <img src="images/twitter.png" alt="HTML tutorial" width="32" height="32" alt="" />
    </a><a href="">
    <img src="images/googleplus.png" alt="HTML tutorial" width="32" height="32" alt="" />
    <!-- end of social div -->
     <h5>Copyright  GreenPlumbing</h5>
    <!-- end of footer div --> 
    </div> <!-- end of wrapper div -->
    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
    Yorkshire, UK
    123 Post(s)
    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 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.


Posting Permissions

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