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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:22:02+00:00 2026-05-28T04:22:02+00:00

Here is a snippet (if you are using Opera, check out this link). As

  • 0

Here is a snippet (if you are using Opera, check out this link).
As we can see In webkit browser we can see that background image respects padding while centering,
and in (at least Firefox and Opera) things go different.

here it is webkit
non-webkit

So, the question is following – what behaviour is actually correct, and, far far more important, how can I unify layout?

UPD: don’t waste your time trying to find appropriate rule in notorious css reset sets, since I’ve already tried )))

  • 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-28T04:22:03+00:00Added an answer on May 28, 2026 at 4:22 am

    You’re problem isn’t the background-origin it’s the box-sizing.

    Looks like webkit’s box-sizing is content-box and mozilla’s is border-box making webkit’s cell-height 242px (height + padding + border) and mozilla’s 200px. And since your vertical background position is centered, it’s creating extra vertical space. Simply set box-sizing:border-box for consistency between the two modern browsers.

    Here’s a new one: http://dabblet.com/gist/1621656

    EDIT:
    While the above fixes Chrome (webkit), it does not seem to fix Safari 5.1 (webkit). It appears that each browser has a buggy implementations of the box-sizing property for table-cells. In fact, if you even look at the Notes section of the MDN it says box-sizing isn’t even applied in Mozilla.

    Therefore, we must solve your height issue a different way. Good news, according to the CSS2.1 Spec we should be able to define the height we want from the TR. Here’s a new that works in my Safari, Chrome and Firefox versions: http://dabblet.com/gist/1622122

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

Sidebar

Related Questions

Here's a snippet of a pixel bender shader that I'm using in Flash: parameter
So here is the jQuery snippet I am using to create a div that
Using the obsolete System.Web.Mail sending email works fine, here's the code snippet: Public Shared
Here is a snippet of CSS that I need explained: #section { width: 860px;
I'm trying to query the equivalent of this sql snippet using arel: WHERE ((participants.accepted
I'm using WinForms TreeView and reaction to AfterLabelEdit event. Here's the snippet of the
Here is the snippet I am using to display Google map on my app
I'm using this little jewel of a Django code snippet to edit a ManyToManyField
I am using the bitbly API to shorten urls. here is a snippet of
This is OpenGL on iPhone 4. Im drawing scene using light and materials. Here

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.