Need Help regarding html code

Discussion in 'HTML & Website Design' started by Md Nazmul Islam, Jun 20, 2013.

  1. #1
    Hello Everyone,
    I Created a html page and want to add Facebook like box. I got code from Facebook. But problem is Facebook box never loaded on my page.
    I tried
    JavaScript SDK
    , iframe also url
    Can any one help me regarding this issue....

     
    Md Nazmul Islam, Jun 20, 2013 IP
  2. danmaster2012

    danmaster2012 Active Member

    Messages:
    52
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Can you display the code you are tying to use here? You may have to use the "code" icon in the html editor here to properly display the code.
     
    danmaster2012, Jun 20, 2013 IP
  3. Md Nazmul Islam

    Md Nazmul Islam Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #3
    Hello Danmaster2012,
    Here is the code....
    Html code.......
            <div id="media" class="group">
                          <div id="nazmul">
                    <h4>Like Us On <strong><span class="green">Facebook</span></strong></h4>
                                  <iframe> </iframe> !!---Like box want to use here--!!
                  </div>
                    </div>
    Code (markup):
    Css code.........
    #media{
        margin: 0 auto;
    }
    .group:after {
      content: "";
      display: table;
      clear: both;
    }
    #nazmul{
    width: 295px;
    float: right;
    }
    Code (markup):
    Facebook Code........
    <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FBoilerGuys&amp;width=292&amp;height=290&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;show_border=true&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:290px;" allowTransparency="true"></iframe>
    Code (markup):
     
    Md Nazmul Islam, Jun 20, 2013 IP
  4. Md Nazmul Islam

    Md Nazmul Islam Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #4
    Here is the facebook page
    https://www.facebook.com/BoilerGuys
    Code (markup):
     
    Md Nazmul Islam, Jun 20, 2013 IP
  5. danmaster2012

    danmaster2012 Active Member

    Messages:
    52
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    I created a little test file of my own using your code and I was able to display it. You should be able to see it live here: http:/www.thebrazilianlanguage.com/facebook-like-button-test.html, how were you referencing your css code?
     
    danmaster2012, Jun 20, 2013 IP
  6. danmaster2012

    danmaster2012 Active Member

    Messages:
    52
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    So, did you get it to work?
     
    danmaster2012, Jun 22, 2013 IP
  7. Md Nazmul Islam

    Md Nazmul Islam Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #7
    Thanks danmaster, It's working properly. Actually problem was at my local server not on code. when I upload on server it's working properly. Thanks for your time.
     
    Md Nazmul Islam, Jun 22, 2013 IP
  8. danmaster2012

    danmaster2012 Active Member

    Messages:
    52
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Sure, not a problem
     
    danmaster2012, Jun 22, 2013 IP