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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:57:16+00:00 2026-06-11T20:57:16+00:00

I have a layout where there are two items floated right and another item

  • 0

I have a layout where there are two items floated right and another item floated left. In between I want to have a div that clears only one the second of the right floated item.

E.g. I have a layout with a div floated to the right of the page, then a floated image on the left, and another floated image on the right. I want to clear only the image that is floated on the right but not the whole div.

Is there a way to clear only one of the floated items on the right. See http://www.davidapfel.com/testimonials.html, I want to put the image higher up and then put a div underneath the floated image but next to the bar on the right.

Is there any way to do this, or any other easy way of accomplishing this, perhaps without using float?

Thanks very much

  • 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-11T20:57:17+00:00Added an answer on June 11, 2026 at 8:57 pm

    Something like this?

    JS Fiddle

    HTML

    <img height=200 src='/img/top-bg.png' />
    <div id='container'>
        <img height=100 src='/img/top-bg.png' /><br />
        my text
    </div>
    

    CSS

    img{
        float:left;
        width:30px;
        margin-right:10px;
    }
    #container {
        float:left;
    }
    #container br{
        clear:left;
    }
    

    It doesn’t involve nested divs, just one to keep the br from clearing the second image.

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

Sidebar

Related Questions

I have custom gallery. Gallery represents items that are frame layout. There are one
There are two modules for Python that have an almost identical layout in terms
I have a website with a two column layout, like there are dozens I
I have a listlayout with items in it that looks like this: There is
I have a layout that looks like this <div class=categoery> <span>categorie title</span> <table> <tr
I have a layout with two main divs. The width of each div is
I have a page layout that intherits from PublishingLayoutPage . In it there is
Setup I have an accordion layout containing a properties panel that nests two inner
Is there a way to evenly layout radiobuttons including the radiobutton text? I have
I have a layout with three elements and its orientation is 'horizontal' I want

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.