7 Replies Latest reply on Nov 8, 2012 6:49 AM by MurraySummers

    Help needed to resolve there is no attribute X errors..

    braico Level 1

      On my website http://www.dorffdesign.nl/ there is a problem. Ive put the FB Like button there and it worked fine for a while. But now its gone. So ive run

      http://validator.w3.org/ on it and came up with the next errors:

       

      ========================================================================================== ==============================================

       

      1. Error  Line 232, Column 32: there is no attribute "data-href" <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" da…

          

         

      2. Error  Line 232, Column 71: there is no attribute "data-send" http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces=…

          

      3. Error  Line 232, Column 89: there is no attribute "data-width" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>

          

         

      4. Error  Line 232, Column 111: there is no attribute "data-show-faces" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>

      ========================================================================================== ===============================================

       

       

       

      In dreamweaver ive use this code for the FB likke button:

       

      <div id="fb-root"></div>

      <script>(function(d, s, id) {

        var js, fjs = d.getElementsByTagName(s)[0];

        if (d.getElementById(id)) return;

        js = d.createElement(s); js.id = id;

        js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";

        fjs.parentNode.insertBefore(js, fjs);

      }(document, 'script', 'facebook-jssdk'));</script>

       

      ========================================================================================== ===========

      <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>

       

       

      I really want to solve this so im hoping if you can point me into the right direction.

       

      Regards