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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:18:37+00:00 2026-06-07T14:18:37+00:00

We have simple div as below. The problem here there is gap between the

  • 0

We have simple div as below. The problem here there is gap between the div gpsDataDiv and map div inIE. Secondly the gpsDataDiv is field with a dynamic table using this method document.getElementById(“gpsDataDiv”).innerHTML = htmlString; and again in IE the table goes right below and does not stop at say 400px so there is no scroll bar generated like in chrome or firefox.

 <body>
 <div id="left" style="width:220px;height:350px;float:left;background:white;">
      <div id="gpsDataDiv" style="overflow: auto; max-height: 400px;background:white;"></div>
</div>
 <div id="map" style="top:0px;left:220px;height:100%">Map goes here.
  </div>    
 </body>
  • 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-07T14:18:38+00:00Added an answer on June 7, 2026 at 2:18 pm

    You div with id map does not have position:absolute in the styling, is this something you have in a separate stylesheet?

    A couple of suggestions:

    1.

    Your mixing float:left; with an absolutely positioned element(?). You need to make sure that the container, in this case the body has either overflow:hidden applied to it, or alternatively use a clearfix. This will stop the container from collapsing down and can cause problems further down your page.

    2.

    Secondly, you should be able to alter the style in different browsers by using either separate stylesheets aimed towards each browser (try a search for ie specific stylesheets) or try my approach of using a class on the html element

    <!--[if lt IE 7 ]> <html class="ie6" lang="en" xml:lang="en"> <![endif]-->
    <!--[if IE 7 ]>    <html class="ie7" lang="en" xml:lang="en"> <![endif]-->
    <!--[if IE 8 ]>    <html class="ie8" lang="en" xml:lang="en"> <![endif]-->
    <!--[if IE 9 ]>    <html class="ie9" lang="en" xml:lang="en"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!--><html class="" lang="en"> <!--<![endif]-->
    

    3.

    Make sure you have a doctype on your page, try using the html 5 doctype below. If you don’t specify a doctype the page can go into quirks mode. This is definitely something you don’t want!

    <!DOCTYPE html>
    

    4.

    Try changing max-height: 400px; to height: 400px on id="gpsDataDiv"


    If any of these arent helping you, could you put together a jsfiddle of your issue? Itll help me debug it for you 🙂

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

Sidebar

Related Questions

I have a div. It is really simple. Here is the CSS code below.
I have this simple js tabs. Here is the html : <div class=product-collateral> <div
I have a weird problem , below are two simple get calls and returning
I have simple HTML page with svg like this: <div id=plan> <svg xmlns=http://www.w3.org/2000/svg version=1.1>
I have a simple jquery animation on a div, which is inside a div,
I have an anchor tag with some simple CSS: div { background-color: gray; /*
I have this simple html: <div class=wrapper> <span class=higher> [higher] <span class=lower> hello </span>
I have a simple DOM code like the following <div> <div> </div> </div> I
I have this simple piece of HTML code: <div> <input type=file name=english-file /> </div>
I have a simple nav made up of the following HTML; <div class=inner> <div

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.