Hello All,
have a requirement i need to have 20 px distance from the border to the button . Have done the same using the margin attribute now this is working fine but the distance is not same in different resolution of the monitors .
on low resolution it is 20 px but have <20px on the high resolution .
How to avoid this issue and looks same with different resolution
have couple of questions here
-
is this expected behavior that distance will vary with different resolutions ? I believe yes because they are based on px
-
what is the best way to avoid this and having the same distance in all the resolutions