Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mozilla Firefox border rendering

I've come across a strange thing in Firefox, which has become a problem to me. It seems that Firefox renders borders thinner than other browsers.

For example I have just a simple empty div element, and nothing else on the webpage, with a border set to width:3px. In all other browsers, such as IE, Opera, Chrome and Safari, the width looks the same and is in fact 3px wide. But in Firefox I noticed that the border width seemed thinner. So I checked the border width with Firebug, under the Computed tab -> Box model. And yes as I suspected, the rendered border in Firefox is thinner. The border width that Firefox rendered is actually 2.2px and not the expected 3px.

This small difference with Firefox completely messes up my design.

Has anyone else noticed this? Does anyone have a solution for this?

like image 826
zA. Avatar asked Feb 27 '23 00:02

zA.


1 Answers

Hit CTRL+0, or View > Zoom > Reset.

like image 179
reisio Avatar answered Mar 04 '23 19:03

reisio