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!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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 имеет эту проблему
  • 8 просмотров
  • Последний ответ от 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?

Все ответы (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!