is percentage width or others value work same like others browser ? Example 2.6%. is working chrome but in firefox show diiferent results . Why?
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)
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!