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 6534021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:12:01+00:00 2026-05-25T10:12:01+00:00

I have implemented a facebook style search suggestion feature for my application . But

  • 0

I have implemented a facebook style search suggestion feature for my application . But , I am facing some issues here .

i) Below is the search box and the result div code :

<div align="right" style=" width:300px; float:right; margin-right:30px">
            <input type="text" id="searchbox" class="searchbox" maxlength="100" style="color: rgb(170, 170, 170);">&nbsp; &nbsp;<img src="../../../asset/images/search.png" style="margin:0 0 -5px 2px"><br><br>
            <input type="hidden" value="http://www.plus-one-me.com/search/google/interests" id="formurl" name="formUrl">
                <div id="display">
                </div>
            </div>

The search results get displayed within the #display div as below:

<div id="display" style="display: block;">
    <div class="display_box" align="left"> Cakephp </div>
    <div class="display_box" align="left"> Myspace </div>
    <div class="display_box" align="left"> Php </div>
</div>

This is how the page looks before we enter anything in the search area :
enter image description here

Below is what the search results div is doing :

enter image description here

Basically , it brings down the menu in my main content area . So how can I fix this using CSS ?

Below are the styles :

of the menu div in the background (containing the options Home,History and Settings

.menuBar .submenu {

padding:4px 12px 5px 12px;
margin-right:8px;
border:2px solid #EEE;
text-decoration:none;
display:inline-block;
float:left;
font-size:13px;
-moz-border-radius:40px;
border-radius:40px;
-webkit-border-radius:40px;
-moz-box-shadow:0 1px 3px #777;
-webkit-box-shadow:0 2px 3px #777;
box-shadow:0 2px 3px #777;
color:#333;
background: -webkit-gradient(linear, 0 0, 0 70%, from(#765), to(#FFF));
background: -webkit-linear-gradient(#000, #FFF 70%);
background: -moz-linear-gradient(#BBB, #FFF 100%);
background: -ms-linear-gradient(#765, #FFF 70%);
background: -o-linear-gradient(#765, #FFF 1000%);
background: linear-gradient(#765, #FFF 70%);
-pie-background: linear-gradient(#765, #FFF 70%);
}

of my searchbox :

#searchbox {
border: 1px solid #000000;
padding: 3px;
width: 250px;
}

and the display_box for individual results :

.display_box {
border-top: 1px solid #DEDEDE;
font-size: 12px;
height: 30px;
padding: 4px;
}

enter image description here

  • 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-05-25T10:12:01+00:00Added an answer on May 25, 2026 at 10:12 am

    the drop down menu has to have position:absolute applied to it. This takes it out of the flow of the page so it doesn’t affect other elements.

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

Sidebar

Related Questions

I have implemented Facebook in my application, and noticed that I have some problems
I have implemented Facebook into my app but now I find that whenever I
What my application Does: I have implemented facebook login for my website. And i
I have implemented the facebook share feature in JavaScript. So far, when i click,
I have implemented the facebook connect with android. It was working fine before but
We have implemented a facebook-like style menu to our app, which basically allows you
I have implemented facebook connect application in one of my website. Everything works fine
I am working on a rails application. I have implemented facebook integration in my
I have implemented Facebook Connect into a HTML page exactly as the tutorial explains
I have just put implemented Facebook connect on my web-site using the JavaScript SDK.

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.