How to modify the CSS style according to the browser kernel version?

clipboard.png

clipboard.png
this is a problem encountered in development.
the former is debugged in Chrome68 version and can be displayed normally after update.
the latter is an old version of Sogou browser. After checking, it shows the same style as Chromium 49 version
. The spacing of the latter is obviously different. How can
be compatible with different versions?

Apr.26,2021

Don't rush to consider the compatibility of different versions. For Chromium 49, there is certainly no compatibility problem with the conventional padding,margin style. You should first take a look at your CSS code to see if it is written in a standard way


.

this depends on the concrete analysis of the specific structure style

see what's the difference between the two versions of the box model

to make compatibility fixes

besides, I don't quite understand why
is compatible with the old version of Sogou browser


Yes, you can tell me which css attribute compatibility is causing the problem

Menu