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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:46:20+00:00 2026-05-13T14:46:20+00:00

I would like to create a webpage with header, footer, left column (25% wide

  • 0

I would like to create a webpage with header, footer, left column (25% wide column which contains some buttons etc.) and main content area which has to be filled with google map.

I tried to modify the content from this answer the following way:

<body onload="initialize()">
<div id="wrapper">
  <div id="header">Header</div>
  <div id="leftcolumn">Left Column</div>
  <div id="map_canvas"></div>
  <div id="push"></div>
</div>
<div id="footer">footer</div>

html, body {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
}
#wrapper {
    min-height: 100%;
    height: auto;
    height: 100%;
    margin: 0 auto -100px;
    background-color: red;
    border: 1px solid black;
  }

#header {
background: #438a48;
height:100px;
}
#leftcolumn {
background: #2675a8;
float: left;
width: 25%;
height:auto;
height:100%;

}

#map_canvas {
background: #000;
float: right;
width: 75%;
height:100%;
}

#footer, #push {
background: #df781c;
height:100px;
}

but the parameter height:100%; at map_canvas and #leftcolumn causes the content to exceed the screen size but if the height is not specified tha map can’t be seen.

Does anyone how to modify/create the layout in order to to automatically fill the content area with google map?

Thanks!

  • 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-13T14:46:20+00:00Added an answer on May 13, 2026 at 2:46 pm

    Your problem is that you have a 100px header, and you can’t subtract that from the 100% height you give the map_canvas. So the total height of the construct is of course 100% of the body height, plus 100 pixels that it overflows to the bottom.

    I usually solve it this way. I hate using position: absolute unless really necessary, but I can’t see a better way:

    #map_canvas {
    background: #000;
    position: absolute;
    left: 25%;
    right: 0px;
    bottom: 0px;
    top: 0px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a database backed interactive AJAX webapp which has a
I would like to create an application wide keyboard shortcut for a Java Swing
I would like to create a function in C# that takes a specific webpage
I would like to create a javascript modal pop up window to get some
I would like to create a webpage with browser specific in javascript. For example:
I would like create my own collection that has all the attributes of python
I would like create a web service in ASP.Net 2.0 that will supports JSON.
Would like to create a strong password in C++. Any suggestions? I assume it
I would like to create an SSL connection for generic TCP communication. I think
I would like to create a file format for my app like Quake, OO,

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.