This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

is percentage width or others value work same like others browser ? Example 2.6%. is working chrome but in firefox show diiferent results . Why?

  • 1 (رد واحد)
  • 1 has this problem
  • 8 views
  • آخر ردّ كتبه Wesley Branton

more options

is percentage width or others value work same like others browser ? Example 2.6%. is working chrome but in firefox show diiferent results . Why? I am asking about percentage 2.5% , and 3% value have same result, What is reason for?

is percentage width or others value work same like others browser ? Example 2.6%. is working chrome but in firefox show diiferent results . Why? I am asking about percentage 2.5% , and 3% value have same result, What is reason for?

All Replies (1)

more options

Every browser handles CSS a little different. Unfortunately, every browser will round decimal percentages a bit differently.

Here is an article about the topic:

It's from 2008, but still very relevant. Unfortunately, as a web developer, you should expect that your rendered results will vary from browser to browser. The difference shouldn't be too large, so if there is a big difference in the render results, you may have another issue.

If you think that there is a bigger issue, please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!