Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8094291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:45:19+00:00 2026-06-05T20:45:19+00:00

I implemented the Facebook registration on my website. Everything works fine except that suddenly

  • 0

I implemented the Facebook registration on my website. Everything works fine except that suddenly the button is being rendering distorted. I’m testing the website locally.
enter image description here

this is the html code:

echo '<ul id="login_menu">
<li id="login_button"><a>Login</a></li>
<li class="register_button"><a href="register.php">Register</a></li>
<li>  <fb:login-button registration-url="registerwithfb.php" /> 
</li>
</ul>';

javascript:

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

    <script type="text/javascript">
       window.fbAsyncInit = function() {
        FB.init({
                appId   : '<?php echo $facebook->getAppId(); ?>',
                session : <?php echo json_encode($session); ?>, // don't refetch the      session when PHP already has it
                status  : true, // check login status
                cookie  : true, // enable cookies to allow the server to access the   session
                xfbml   : true // parse XFBML
        });

        // whenever the user logs in, we refresh the page
        FB.Event.subscribe('auth.login', function() {
                window.location.reload();
        });
};

(function() {
        var e = document.createElement('script');
        e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
}());

and css:

#login_menu{
float:right;
}
 #login_menu li{
 margin:0;
 padding:0;
 float:left;
  position:relative;
  }

   #login_menu li a{
   text-decoration:none;
    list-style:none;
   line-height:50px;
  text-decoration:none;
  height:55px;
   font-weight:900;
   font-size:13px;
  border-right: 1px solid #555;
  padding: 0 15px;
  color:#59b1da;
  }
 #login_menu li a:hover{
  color:#ffffff;

   }

any idea?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:45:21+00:00Added an answer on June 5, 2026 at 8:45 pm

    comment out #login_menu li a

    as it may have been interfering. Glad I could help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented facebook connect application in one of my website. Everything works fine
I implemented the Facebook like button in our website,but when the like button is
I've implemented a facebook like button into my (html) website. Now german data protection
I've implemented the facebook like button in my tumblr project - and it works
I implemented the Facebook iOS API / SDK into my application and it works
I've implemented the Facebook like button on my site, but liked links are showing
I have implemented Facebook authentication on my website. I have asked for user permissions
I am planning the development of a website that rely heavily on facebook integration,
I have just implemented Facebook Authentication on my website using Facebook JavaScript. If user
I have implemented Facebook in my application, and noticed that I have some problems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.