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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:59:47+00:00 2026-05-16T15:59:47+00:00

In my site, I have two divs – right and left. Both are contained

  • 0

In my site, I have two divs – right and left. Both are contained within a wrapper div. Here is my code:

#wrapper{
    width:1000px;  
    height:750px;
    margin:auto;
}

#left{
    width:500px;
    height:750px;
    float:left;  
    position:relative;
}

#right{
    width:500px;
    height:750px;
    float:right;
    position:relative;
}

In Chrome, no problem.

In Firefox, no problem.

In Safari, no problem.

In Opera, no problem

In IE, the #right div is in the same location horizontally, but vertically it’s below the #left div.

I’ve tried a few different techniques to remedy this. Setting the wrapper line height to 0, setting the right display to inline, reducing the size of the right and left divs (I thought maybe there was a margin/padding issue). I’ve run out of ideas now, can anybody offer any help of the issue?

In All Browsers (except IE):
alt text

In IE:
alt text

  • 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-16T15:59:48+00:00Added an answer on May 16, 2026 at 3:59 pm

    There’s nothing wrong with the CSS you’ve posted. It will work in all browsers as expected (I’ve decreased the widths in my example).

    What’s happening is that you’ve got an element in one of your columns that’s forcing the width of either #left or #right to be greater than 500px. The easiest way to fix this is to start removing elements until the float drop disappears. Then you can figure out if there’s a solution for the offending element (i.e. set its width or set overflow: hidden or scroll).

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

Sidebar

Related Questions

I have two lists, each on different tabs (sub-sites) of the site. I would
I have basically two separate sites, a SharePoint collaboration site, and an ASP.Net application
I have a site in rails and want to have site-wide settings. One part
On my site I have mod_rewrite rules to make the URLs more search engine
In an oscommerce site I have the following: Server response = Content-type: text/html;charset=UTF-8 and
The Zend Framework based site I have been working on is now being migrated
In an ASP.NET 3.5 site we have a relatively standard payment checkout progess that
Currently when I build my site I have to manually open validate it at
At one of our client's site we have the following topology of BizTalk 2006
I am currently developing a site and have a need for a javascript-based carousel/slider

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.