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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:29:11+00:00 2026-06-10T01:29:11+00:00

Hello want to know if i can get some help on this as i

  • 0

Hello want to know if i can get some help on this as i have not found anything on the net that will fix this issue, On the iphone the twitter bootstrap modal box when is to big the page has no scroll to get the the footer of the box.

code used

    <div class="modal hide" id="electricityModal">

        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h3>Submit A Electricity Reading</h3>
        </div>

        <div class="modal-body">

            <div class="control-group">
                <label class="control-label">Date/Time</label>
                    <div class="controls">
                        <span class="input-medium uneditable-input">22 Aug 2012, 9:45AM</span>
                    </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="reading-peak">Peak</label>
                <div class="controls">
                    <input style="letter-spacing: 10px;" type="text" id="reading-peak" class="input-medium">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="reading-off-peak">Off Peak</label>
                <div class="controls">
                    <input style="letter-spacing: 10px;" type="text" id="reading-off-peak" class="input-medium">
                </div>
            </div>

        </div>

        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
            <button class="btn btn-primary">Lodge Reading</button>
        </div>
    </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-10T01:29:13+00:00Added an answer on June 10, 2026 at 1:29 am

    Fix for this is adding the following css (found on bootstraps github issues)

        @media (max-width: 480px) {
    
            .modal {
                height: 500px; /* Set a default max height of the modal (adjusted later)*/
                position: fixed; /* Display modal in the centre of your screen */
                overflow-y: scroll; /*  Ensure that the modal is scroll-able */
                -webkit-overflow-scrolling: touch; /* Avoid having to use 2 finger scroll on iOS    */
            }
            .modal.fade.in{
                top: 5px; /* Use more screen real estate */
            }
            .modal-body{
                /* Increase the max height of the modal body to try & avoid both it,
                 * and the modal container having scroll bars which results in odd behavior */ 
                max-height: 2400px; 
            }   
        }
    
        /* Now adjust the height so it handles various screen sizes & orientations */
        /* You could make this as granular as you like, or have it more granular at common screen sizes
         * but it should start at the height we set on .modal (i.e. 500px) & work down */
        @media (max-width: 480px) and (max-height: 500px){.modal{ height: 450px}}
        @media (max-width: 480px) and (max-height: 450px){.modal{ height: 400px}}
        @media (max-width: 480px) and (max-height: 400px){.modal{ height: 350px}}
        @media (max-width: 480px) and (max-height: 350px){.modal{ height: 300px}}
        @media (max-width: 480px) and (max-height: 300px){.modal{ height: 250px}}
        @media (max-width: 480px) and (max-height: 250px){.modal{ height: 200px}}
        @media (max-width: 480px) and (max-height: 200px){.modal{ height: 150px}}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hello i am little new to all this but i want to know that:
I have a feature that automatically creates some web part pages. I want to
I have searched this site top to bottom yet have not found a single
I have an NSString like @Hello World and want to convert that into an
Hello I want to know if is possible to modify a cube dimension in
Hello I would like to know if my script is good; I want to
hello i want to get startet with programming with WIN32, therefore i wrote a
I have: %{ lorem ipsum dolor sit %{hello world}% amet}% I want: hello world
I have just started learning Javascript. I want Hello World! to be written to
EDIT: Solution in code can be found on bottom. I am not sure if

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.