We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

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

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

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

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!