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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:18:55+00:00 2026-06-12T14:18:55+00:00

Why in IE7 input breaks out of its container? http://jsfiddle.net/Q8jPM/2/ <div class=row-fluid style=margin-top:10px;> <div

  • 0

Why in IE7 input breaks out of its container?

http://jsfiddle.net/Q8jPM/2/

enter image description here

<div class="row-fluid" style="margin-top:10px;">
    <div class="span12">
        <div class="row-fluid">
            <div class="span6">
                <div class="row-fluid">
                    <div class="span6 " style="background:green;">
                        <input type="text" class="span12">
                    </div>
                    <div class="span6" style="background:blue;">
                        <input type="text" class="span12">
                    </div>
                </div>
            </div>
            <div class="span6">
                <div class="row-fluid">
                    <div class="span6" style="background:green;">
                        <input type="text" class="span12">
                    </div>
                    <div class="span6" style="background:blue;">
                        <input type="text" class="span12">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

​

UPDATE: I suppose it’s box-model and width issue, but is any solution with bootstrap?

  • 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-12T14:18:56+00:00Added an answer on June 12, 2026 at 2:18 pm

    this happens because IE7 does not support the css property

    box-sizing: border-box;
    

    that considers padding and border size as part of the elements width.

    read more about this property here: http://paulirish.com/2012/box-sizing-border-box-ftw/

    because of this, IE7 adds the padding and border size to the input width – exceeding the parent width. You will have to set those to 0 in order to get the element fit to the parent size and stay fluid.

    you could try adding a wrapper element around the input and then setting the padding and border to the wrapper. This will work in all browsers

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

Sidebar

Related Questions

I have problem with CSS position in IE7. here is the link http://jsfiddle.net/HXcM4/30/ input,
Here is my code: http://jsfiddle.net/9Vvpj/4/ Please help me figure out why this working fine
I learn that is a classic problem on IE7 : <div class=loc_main> <div class=loc_cerca>
I have the following CSS which isn't working in IE7. input:focus{border-width: 2px;border-color: Blue; border-style:
On http://www.bigbasket.com , the Input for Qty is coming on the next row in
IE7 doesn't support :last-child pseudo selector. I am thinking of explicitly adding a class
I know IE7 & IE8 supposedly have support for using multiple CSS class selectors,
I am using IE7. I have an input box as follows: <input name=location type=text
In IE7, when a user fills out this Google Form w/ jq validate.js, and
I have a form with hidden input fields. In IE7 the layout gets shifted.

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.