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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:48:10+00:00 2026-05-26T06:48:10+00:00

So I got the webpage to go full screen now but I am using

  • 0

So I got the webpage to go full screen now but I am using height 100% for all my css attributes and now I am getting a scroll bar on the right side.

http://www6.luc.edu/test/cabplan/maps/index2.html

when i change the #content_container to height 89% it changes it but its looks different on other screen sizes. How do I make it so that the map is always the height up until the footer with the “esri” logo on the bottom right above the footer as well

  • 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-26T06:48:10+00:00Added an answer on May 26, 2026 at 6:48 am

    This would be something better suited for jquery. You can call it to resize the height on load and on window resize.

    To get the window height you would use

    windowHeight = $(window).height();
    

    You take this and assign it to a variable and subtract the heights of the header and footer. And in set the css by using

    ${'#content_container').css({width: windowHeight+"px"});
    

    Then if someone resizes the window you run the same options in a function like the following

    $(window).resize(function() {
      //update stuff
    });
    

    EDIT

    $(document).ready(function(){
     windowHeight = $(window).height();
     divHeight = windowHeight - 100 - 100; // heights of your header/footer
     $('#content_container').css({height: divHeight+'px'});
    });
    
    $(window).resize(function() {
     windowHeight = $(window).height();
     divHeight = windowHeight - 100 - 100; // heights of your header/footer
     $('#content_container').css({height: divHeight+'px'});
    });
    

    you can replace the 100’s for static calls of height by assigning variable and call $(‘#divid’).height(); Since your header is position:absolute, if you subtract the header then you will need to position the div from the top the same px.

    To call js include the following before the javascript above.

    <script src="http://code.jquery.com/jquery-1.6.4.min.js" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried using webparts on an asp.net webpage and got a blank screen. While
I've got a webpage that validates as XHTML 1.0 Strict. I'm using YUI3 and
I've got a webpage built using MVC3 and .NET 4 Validation is working great
I got a working webpage with CodeIgniter. I did now just upload it to
[EDIT: using a simplified test page without Javascript etc.] I've got a webpage that
I've got C++ backend application that interacts with webpage using fastcgi. Webpage uses jQuery
I've got a webpage that I'm working on where you click on a letter
I'll make this short, I got this webpage : <html xmlns=http://www.w3.org/1999/xhtml> <head> <link rel=Stylesheet
I got the following webpage-builtup: <div id=menu> </div> <div id=content> <!-- you just need
I've got the following piece of code in an aspx webpage: Response.Redirect(/Someurl/); I also

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.