Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Padding\margin Issues in Differenet Monitor Resolution

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150168
    Rajeshrock
    Participant

    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

    1. is this expected behavior that distance will vary with different resolutions ? I believe yes because they are based on px

    2. what is the best way to avoid this and having the same distance in all the resolutions

    #150180
    Paulie_D
    Member

    is this expected behavior that distance will vary with different resolutions ? I believe yes because they are based on px

    I don’t think so, 20px is 20px but I’d have to see it in action to judge properly.

    I think we’re into the old DPI / PPI discussion again

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.