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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:51:57+00:00 2026-06-14T19:51:57+00:00

I have a simple css layout wrapper header left-sidebar / main-content / right-sidebar footer

  • 0

I have a simple css layout

wrapper
header
left-sidebar / main-content / right-sidebar
footer

but my main content seems to drop (float drop) and I don’t understand why.

I have set it up in a fiddle – fiddle

I can get it to not drop by removing the float:left from the main-content div but I don’t understand why this is so. The container (wrapper) has a float:left and I thought this was the way to avoid the ‘float drop’

I am float:left on the left-sidebar and wrapper so I thought the main-content would just simply line up with the left-sidebar if I set float:left on the main-content div

  • 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-14T19:51:58+00:00Added an answer on June 14, 2026 at 7:51 pm

    The #main-content div needs a proper measurement value.

    #main-content
    {
    margin-left: 110px;
    margin-right: 110px;
    float:left;
    padding-bottom:150px;
    width:500px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple layout with content floated-left and a fixed-positioned menu on the
I have a simple 2-column CSS layout with floated divs. The LEFT column has
I have a simple 2 colum layout (left col fixed width 200px, and right
Pulling my hair out with this simple CSS layout. I have a 2-column fixed
Let's say I have a simple CSS layout and my menu is a column
I have a pure CSS layout with a simple container that houses my text.
I have this simple Layout in my page <div id=content-wrap> <form id=form1 runat=server> <asp:ScriptManager
I want to achieve a simple frame layout with fixed header, fixed left navigation
So I've tried to work with the pure-CSS, never-use-tables-for-layout gospel, I really have. But
This simple HTML5 layout is intended to have a navigation bar on the left

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.