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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:55:05+00:00 2026-05-26T16:55:05+00:00

I am using a which has links which are floated to left. Then when

  • 0

I am using a which has links which are floated to left. Then when I am giving the bounce effect to the elements on click, when I am clicking them the bounce occurs but it shifts to the right of the container.

The phenomenon does not happen when I remove the float:left effect. I have been trying to find a replacement for the float property but unable to find any proper effect.
This is my HTML code

<div id="menu"> 
        <ul>
        <li><asp:LinkButton ID="lbDashboard" ClientIDMode="Static" runat="server"  onclick="lbDashboard_Click">Dashboard</asp:LinkButton></li>
        <li><asp:LinkButton ID="lbFindHotfix" ClientIDMode="Static" runat="server" onclick="lbFindHotfix_Click">Search</asp:LinkButton></li>
        <li><asp:LinkButton ID="lbHelpWiki" ClientIDMode="Static" runat="server" onclick="lbHelpWiki_Click">Help/Wiki</asp:LinkButton></li>
        </ul>
        </div>

and this is the CSS part

#menu {
padding-top:30px;
padding-right:30px;
margin: 0;
float: right;
width:100%;
overflow:hidden;
}

#menu ul, #searchdropdown ul{
margin: 0;
list-style: none;
}

#mainlinks ul
{
margin: 0;
list-style: none;
}
#menu li, #mainlinks li, #searchdropdown li{
display: inline;
}

#menu a{
display: block;
float: left;
padding: 10px 10px;
margin: 0;
text-align: center;
text-decoration: none;
text-transform: uppercase;
font-size: 14px;
font-weight: normal;
font-family: Georgia, "Times New Roman", Times, serif;
color: #616B4F;
}


#menu a:hover{
background: #9FAB87;
color: #FFFFFF;
border-top-left-radius:1em;
border-bottom-right-radius:1em;
}

This is my script code-

<script type="text/javascript" language="javascript">
    $(function () {

        //Add bounce effect on Click of the DIV
        $('#lbDashboard').click(function () {
            $(this).effect("bounce", { times: 3 }, 300);
        });

        $('#lbFindHotfix').click(function () {
            $(this).effect("bounce", { times: 3 }, 300);
        });

        $('#lbHelpWiki').click(function () {
            $(this).effect("bounce", { times: 3 }, 300);
        });

    });

</script>
  • 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-26T16:55:06+00:00Added an answer on May 26, 2026 at 4:55 pm

    What happens when you float the list items, not the links, and perform the bounce on the link?

    #menu li, #mainlinks li, #searchdropdown li{
    display: inline;
    }
    
    #menu li {
    float: left;
    padding: 10px 10px;
    }
    
    #menu a{
    margin: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: normal;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #616B4F;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using fscanf to read a file which has lines like Number <-whitespace->
I am using a form which has dynamic textboxes I want autocomplete functionality to
I am using Delphi 2009 which has the FastMM4 memory manager built into it.
I'm using a library which has both a C interface and a C++ interface
I have recently started using Zend Studio which has reported as warning the following
im using linux with gedit which has the wonderful habit of creating a temp
When using ActionLink to render data from database which has HTML tags (ie <p>)
I am using embedded-linux for device which has Arch ARMv5 Speed 266MHZ, vfpu and
I am looking at code which has the correct using statements declared but yet
i am using a certificate generated by makecert which has both private and public

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.