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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:08:31+00:00 2026-05-18T05:08:31+00:00

Ever since I updated FF to 3.6.12 (or at least that’s when I noticed

  • 0

Ever since I updated FF to 3.6.12 (or at least that’s when I noticed the issue), I am dealing with an unusual situation. While Chrome and Opera use the content-box box model, Firefox seems to have started using border-box. Right now I’m styling some table headers with a height of 39px and a 1px border on the bottom (total height: 40px).

It displays OK everywhere, save for FF, where the content box is 38px high.

If it’s of any use, I’m on Windows 7 Professional 32 bit, but also noticed this on my colleague’s computer (Windows XP Professional).

My CSS (simplified for readability) is only this, nothing fancy:

table { border-spacing: 3px; }
table tr th { height: 39px; border-bottom: 1px solid red; }

Setting the box-model explicitly to content-box has no effect, as if border-box was set internally with !important… (sort of like what Chrome does with autofill form field background)

This 1 pixel difference is not something that will take my styling apart (I’m not making it pixel-perfect), but I’m still really upset about my FF changing its behaviour. So, my questions are:

  1. Does it happen in your case as well? (if not, it’s probably some bug in my CSS)
  2. If so, has the FF team decided to go against the W3C and change the default box-model?
  3. If so, do you happen to know why and where I can find some info about it (Google refused to help)?
  • 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-18T05:08:32+00:00Added an answer on May 18, 2026 at 5:08 am

    OK, User Agent Style sheet arcana coming your way:

    for some reason, FF sets table { -moz-box-sizing: border-box } in its default stylesheet. As does IE8 (but not 7). Other browsers use the default box-sizing: box-content. I have no idea why FF has done this, against the W3C defaul value. there’s a long discussion about this here: Why is box sizing set to border-box for tables in Firefox?.

    to override it, use the -moz prefix: i.e. table { -moz-box-sizing: content-box }

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

Sidebar

Related Questions

I am facing a very strange issue ever since I updated the Xcode with
Ever since I created this Rails 3.2.3 project to use MiniTest, I have been
Ever since ereg became depreciated, I began to use preg_match. Unfortunately in my code,
I have been trying to run rake but it seems that ever since I
Ever since I've updated my XCode, the MinimumTrackImage on my UISlider is now stretching,
Ever since I updated to Kobold2d 2.0.4 I keep getting these warnings in the
I just updated my NuGet Package Manager on my corporate machine. Ever since the
Ever since I found out about auto properties, I try to use them everywhere.
Ever since I updated to 10.7.4 I started having issues with my NSImage code.
Ever since I updated my projects for VS 11 I can't get my @Model

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.