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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:09:20+00:00 2026-05-24T16:09:20+00:00

I have some Divs floating but for some reason the 3rd DIV doesn’t go

  • 0

I have some Divs floating but for some reason the 3rd DIV doesn’t go under the 1st DIV. I can’t figure out why? I think it has something to do with the images. When the images are not in, they float fine.

http://jsfiddle.net/xtian/9Je65/

HTML:

<div class="dl-content">
            <div class="dl-content-left">
                <div class="content-block">
                    <img src="http://demo.omnigon.com/christian_bovine/SOLIEF/img/thumbs/thumb1.jpg" alt="">
                    <h4 class="left">The History of Documentation</h4>
                    <p>The Historical Documentation Exhibit is now open on Ellis! Come view hundreds of...</p>
                </div>

                <div class="content-block">
                    <img src="http://demo.omnigon.com/christian_bovine/SOLIEF/img/thumbs/thumb2.jpg" alt="">
                    <h4 class="left">Rebuilding Ellis One Brick at a Time</h4>
                    <p>The Historical Documentation Exhibit is now open on Ellis! Come view hundreds of...</p>
                </div>

                <div class="content-block">
                    <img src="http://demo.omnigon.com/christian_bovine/SOLIEF/img/thumbs/thumb3.jpg" alt="">
                    <h4 class="left">Title Number 3</h4>
                    <p>The Historical Documentation Exhibit is now open on Ellis! Come view hundreds of...</p>
                </div>

                <div class="content-block">
                    <img src="http://demo.omnigon.com/christian_bovine/SOLIEF/img/thumbs/thumb3.jpg" alt="">
                    <h4 class="left">Title Number 4</h4>
                    <p>The Historical Documentation Exhibit is now open on Ellis! Come view hundreds of...</p>
                </div>
            </div>    

            <div class="dl-content-right">
                <img src="img/thumbs/ad1.jpg" alt="">
            </div>
        </div>

CSS:

    .dl-content{
    width:940px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.dl-content-left{
    width:618px;
    float: left;
}

.dl-content-left .content-block{
    width:307px;
    float:left;
    margin-bottom: 20px;
}

.dl-content-left .content-block img{
    width: 139px;
    float:left;
    margin: 0 8px 0 0;
}

.dl-content-left .content-block p{
    float:left;
    width:150px;
    font-size: 12px;
    line-height: 1.4;
}

.dl-content-right{
    float:left;
    width: 300px;
    margin-left: 20px;
}

.dl-content-right img{
    width: 300px;
}
  • 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-24T16:09:20+00:00Added an answer on May 24, 2026 at 4:09 pm

    I think its to do with the heights of the divs, as a height hasn’t been set.

    I added a clear div into it, separating the two sets of divs and it works now:

    Demo here

    You can also set a height on the divs and this would also solve the problem:

    Demo here

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

Sidebar

Related Questions

EXAMPLE: http://jsbin.com/ewiko4/5/ So I have some Dynamic divs that I need to figure out
I have some divs: <div class=A>Target</div> <div class=A B>NotMyTarget</div> <div class=A C>NotMyTarget</div> <div class=A
I have some icons inside divs and needed to lay them out with a
I have a link which animates some div 's height when its hovered, but
I have some divs that I want to display under some specific conditions in
I have some divs like: <div id=menu> <ul> <li><a href=link.htm>next</a></li> </ul> </div> <div id=content></div>
I have some divs which are all floating left, If you see the attached
I'm trying to figure out a way to make three floating divs match the
I have some divs which contain an image that fills the whole div: <div
I have some divs all set to width:100% on my website: <div id=participate class=test>

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.