Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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!