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

  • Home
  • SEARCH
  • 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 9203603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:30:33+00:00 2026-06-17T23:30:33+00:00

The best way I can explain this is with a JSFiddle example: http://jsfiddle.net/8tXku/ I’m

  • 0

The best way I can explain this is with a JSFiddle example: http://jsfiddle.net/8tXku/

I’m floating each .project div to the left and using some simple jQuery to make them expand to show a description when clicked, however if you click the first project it will push the third project to the right, because it’s taking up too much space when expanded.

Is there a way to get the third project div to just gracefully move down the page with the expanded content rather than move over to the right?

  • 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-17T23:30:35+00:00Added an answer on June 17, 2026 at 11:30 pm

    This may be a dirty solution but its works perfectly.

    Giving the .project-description a position:absolute; will allow it to .slideDown() without affecting the surrounding divs, yet some other tweaks had to be made.

    I added position:relative; to .project so that each .project-description is contained within it.

    Final CSS

    .project {
        width: 250px;
        float: left;
        border: 1px solid #dedede;
        border-radius: 6px;
        -webkit-box-shadow: 0px 0px 20px rgba(50, 50, 50, 0.4);
        -moz-box-shadow:    0px 0px 20px rgba(50, 50, 50, 0.4);
        box-shadow:         0px 0px 20px rgba(50, 50, 50, 0.4);
        margin-right: 30px;
        margin-bottom: 30px;
    position:relative;
    }
    
    .project-description {
        padding: 5px;
        font-size: 12px;
        display: none;
        position:absolute;
        background-color:white;
        left:0;
        right:0;
        z-index:99;
    }
    

    Check this out : http://jsfiddle.net/AliBassam/N4U3R/

    UPDATE

    When .project-description contains a big text (obviously) it will be hidden under the bottom div, just add z-index:99; to .project-description

    Check this out: http://jsfiddle.net/AliBassam/pMGDZ/

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

Sidebar

Related Questions

The best way I can explain the effect is by this site's example... http://www.optimus2020.com/
Ok so let me try to explain this the best way that i can.
The best way I can think of to ask this is by example... In
I will try and explain this the best way I can. I have a
The best way to explain this is with the below image. You can see
I can best explain this by showing a example of what I wish I
I'll try to explain this problem the best way i can with code: double
I will try to explain this the best way I can, but feel free
can someone explain the best way to get around the following, rather curious type
This is the best way I can think of phrasing this question, given this

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.