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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:19:39+00:00 2026-06-01T20:19:39+00:00

I am using jQuery to slide a sign in box down when the user

  • 0

I am using jQuery to slide a sign in box down when the user clicks “Sign In”. When it is clicked, I would like the whole page to slide down, including the logo. So far, the page does slide down, except for the logo. You can view the page here:

http://mini.lukedude5.com

When either “Sign In” or “Sign Up” is clicked, the body of the page slides down (set bottom margin to 500px to exaggerate it). However as you can see, the logo “mi.ni” doesn’t slide down.

<div id = 'header'>
    <a href = '/' title = 'mi.ni' id = 'logo'>mi.ni</a>
</div>

Above is the HTML for the logo, and below is the CSS.

#wrapper
{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#wrapper #header
{
    height: 100px;
    width: 260px;
    background: url('/styles/images/logo2.png') no-repeat;
    margin: 20px auto 0px auto;
}

#wrapper #header #logo
{
    height: 100px;
    width: 260px;
    display: block;
    text-indent: -9999px;
}

The header is wrapped in the wrapper. The bar from which the sign in box slides down is NOT inside the wrapper.

The CSS for the sign in/up box is:

#topBar #signIn, #signUp
{
    width: 250px;
    float: right;
    color: #FFF;
    margin-top: 5px;
    font-weight: bold;
    display: none;
    margin-bottom: 500px;
}

Any help on this issue is appreciated!

EDIT: HTML for bar spanning top of page.

<div id = 'topBarWrapper'>
        <div id = 'topBar'>
            <div id = 'mainTop'>
                mi.ni is a URL shortening service. Learn more about mi.ni. I am trying my hardest to get the domain http://mi.ni.
            </div>
            <div id = 'rightTop'>
                <span id = 'signInText'>Sign In</span>
                |
                <span id = 'signUpText'>Sign up</span>
            </div>
            <div id = 'signIn'>
                <form action = '' method = 'POST'>
                    <table>
                        <tr>
                            <td>Username:</td>
                            <td><input type = 'text' name = 'username' id = 'usernameSignIn' class = 'input' /></td>
                        </tr>
                        <tr>
                            <td>Password:</td>
                            <td><input type = 'password' name = 'password' id = 'passwordSignIn' class = 'input' /></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><div class = 'signInSubmit'></div></td>
                        </tr>
                    </table>
                </form>
            </div>
            <div id = 'signUp'>
                <form action = '' method = 'POST'>
                    <table>
                        <tr>
                            <td>Username:</td>
                            <td><input type = 'text' name = 'username' id = 'usernameSignUp' class = 'input' /></td>
                        </tr>
                        <tr>
                            <td>Email:</td>
                            <td><input type = 'text' name = 'email' id = 'emailSignUp' class = 'input' /></td>
                        </tr>
                        <tr>
                            <td>Password:</td>
                            <td><input type = 'password' name = 'password' id = 'passwordSignUp' class = 'input' /></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><div class = 'signUpSubmit'></div></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>

CSS for bar:

#topBarWrapper
{
    width: 100%;
    height: 25px;
    padding-top: 5px;
    background: #000;
    color: #FFF;
}

#topBar
{
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

#topBar #mainTop
{
    display: inline;
}

#topBar #rightTop
{
    display: inline;
    margin-left: 50px;
    font-weight: bold;
}

#topBar #rightTop #signInText
{
    cursor: pointer;
    margin-right: 5px;
}

#topBar #rightTop #signUpText
{
    cursor: pointer;
    margin-left: 5px;
}

#topBar #signIn, #signUp
{
    width: 250px;
    float: right;
    color: #FFF;
    margin-top: 5px;
    font-weight: bold;
    display: none;
    margin-bottom: 500px;
}
  • 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-01T20:19:40+00:00Added an answer on June 1, 2026 at 8:19 pm

    Set clear:both on the wrapper div. There was some collapsing going on there.

    #wrapper {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the code from this page http://jsfiddle.net/gnQUe/170/ jquery slide toggle as a form
basically I'm trying to get #toggle_box to slide down using Jquery, the code below
I am using a jquery slide in slide out that appears on the page
I am using jquery to slide up an down a div. For some reason
I am using jquery SerialScroll on my web page to slide around 20 images
I'm using JQuery to hide an element with slide effect like this: $(.teaser_container:visible).hide(slide, function()
I am using jQuery. I need a div to slide down from the top
I'm using jquery animate to slide a div off the page, this works fine
I am using the jQuery plugin Cross Slide . My page is working fine
I'm currently using jQuery and am looking for a way to slide an image

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.