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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:58:38+00:00 2026-05-25T17:58:38+00:00

I was playing around with a floated div example, where I have a floated

  • 0

I was playing around with a floated div example, where I have a floated container and some floated child divs except one non-floated child

You can see the example on;

http://jsfiddle.net/emeRJ/7/

Now I wanted to understand the behavior or rendering for this non-floated child div…

2 questions:

  1. Could you please explain how it renders currently and what difference does it make if I have it coded after all the child divs (i.e. it is the last child element)

  2. Also will it have any impact on the non-floated child if I make the container as overflow:hidden ?

  • 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-25T17:58:38+00:00Added an answer on May 25, 2026 at 5:58 pm

    Answer 1

    At the moment the un-floated div right at the top with the red border is displaying block so it spans the whole width of it’s containing div. It is unaffected by the other divs in the containing element

    If you move it to the last position in the containing div the other floated divs do affect the un-floated one so you need to clear: both; (which clears the float and places the un-floated div under the floated divs) with CSS, otherwise any text contained within the un-floated one will be floated to the left and then would proceed to wrap around the floated elements (it doesn’t do this at the moment because the text isn’t long enough). Unless that’s what you are trying to achieve?

    Answer 2

    It shouldn’t make any difference as nothing is actually overflowing the containing div which would be set to overflow: hidden;

    Hope this helps

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

Sidebar

Related Questions

Just playing around with some of the APIs in .NET and I can't seem
Playing around with Google Maps these days, with some directions. I have a map
I am playing around with the AVAudioRecorder so I can have it in my
While playing around with one-to-one associations in castle activerecord I stumbled upon the following
Just playing around with Rails 3.1 at the moment, and one issue I'm having
After playing around with URL decoding myself, I managed to come up with some
After playing around with some toy applications, exploring the documentation and googling around (including
I playing around with the sftp example from here: Stackoverflow: twisted conch filetransfer I
I'm playing around with some reflection calls to call a method that is normally
I've been playing around with some things and thought up the idea of trying

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.