Set background image according to screen resolution

后端 未结 7 656
北恋
北恋 2020-12-12 21:57

I would like to be able to change my webpage background image according to the screen resolution the user uses so:

if screen resolution is greater than or equal to 1

相关标签:
7条回答
  • 2020-12-12 22:28

    I've had this same issue but have now found the resolution for it.

    The trick is to create a wallpaper image of 1920*1200. When you then apply this wallpaper to the different machines, Windows 7 automatically resizes for best fit.

    Hope this helps you all

    0 讨论(0)
提交回复
热议问题