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

  • Home
  • SEARCH
  • 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 7821911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:47:02+00:00 2026-06-02T07:47:02+00:00

In days (long past for some, and still present for others) the box-model bug

  • 0

In days (long past for some, and still present for others) the box-model bug was a bane to their existence. The idea that an element’s width included the margin, border, and padding was blasphemous and an abomination to their senses. So we got away from it after thousands of internet blogs about the box-model hack.

Now we get box-sizing, which will, wait for it, allow you to specify that a width contains the border, the margin, and the padding. We plaster a trendy new name for it, “CSS3 Flexbox,” and now it’s the freedom designers have been looking for.

For those logical people who saw the box-model bug as not the bug and the W3C as the actual bug, this comes as a surprise. A reintroduction of this so-called bug and now we call it an enhancement?

So can someone explain why this is different? I am honestly confused about this.

  • 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-02T07:47:05+00:00Added an answer on June 2, 2026 at 7:47 am

    Now we get box-sizing, which will, wait for it, allow you to specify that a width contains the border, the margin, and the padding. We plaster a trendy new name for it, "CSS3 Flexbox," and now it’s the freedom designers have been looking for.

    No, we call it the "border box" model. Flexbox is a totally different thing; it is unrelated to the box-sizing property, which is used to tell a browser how to calculate the dimensions of a box.

    For those logical people who saw the box-model bug as not the bug and the W3C as the actual bug, this comes as a surprise. A reintroduction of this so-called bug and now we call it an enhancement?

    So can someone explain why this is different? I am honestly confused about this.

    It used to be considered a bug for a long time because at the time, there was only the One True Box Model (W3C content box model) which everybody had to follow when CSS was just beginning to pick up, and at that time IE was the black sheep. But then people — even those who hated IE’s guts — liked this bug, and so border box sizing was added into the CSS3 spec as an option. Plain and simple.1

    Note that IE5.x (and quirks mode IE2) will always continue to exhibit buggy behavior as per any version of the spec, and older versions of other browsers that didn’t support box-sizing will always follow the original content box model in standards mode (and sometimes, but not always, in almost standards mode).


    1 Now there are at least two, the original W3C content box model and the "new" border box model. There’s also a third padding box model being explored by Mozilla, but that’s not really relevant to what we’re talking about here, and it’s at risk of being dropped from the CSS3 UI CR anyway.

    2 Depending on whom you ask, this may be regarded as a "feature" instead, as the primary purpose of quirks mode is to emulate buggy browser rendering for use with legacy code, and it is not intended for use with new code.

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

Sidebar

Related Questions

I've been trying out Sublime for the past few days. Long-time TextMate user. The
I am doing some long simulations that can take from several hours to several
I remember the days (not too long ago, really) when log4net came along with
These days I design some algorithms in python, but find first two greatest value
Two days ago I spontaneously bought myself a domain. The day before that, I
These days, we encountered a strange problem, some of our solr apps on tomcat
Some days ago I asked a question about tagging differencies in 2 text files,
I've been hunting bugs for the past three days and I've kind of given
I have been trying to print my lang and long coordinates for the past
These past few days I've been working toward converting my PHP code base from

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.