Need help with min-device-height

Discussion in 'Programming/Html' started by quaker3, Jul 20, 2012.

  1. quaker3

    quaker3 Master Guru

    Messages:
    652
    Likes Received:
    0
    GPU:
    MSI 6850HD
    Hi,

    need some help:

    my website got 2css.. one is:
    <link rel="stylesheet" media="only screen and (min-device-width: 1270px) and (min-device-height: 1020px)" href="style1020.css" />


    another is:
    <link rel="stylesheet" media="only screen and (min-device-width: 1600px) and (min-device-width: 1200px)" href="style1200.css" />

    The problem is when i use 1920*1080 website uses style1200.css and it shoudnt! Any help is appreceated
     
  2. Nato.dbnz

    Nato.dbnz Ancient Guru

    Messages:
    3,263
    Likes Received:
    0
    GPU:
    5870 Crossfire
    In the style1200.css link you have specified the width twice, rather than width and height.
     

Share This Page