>
>
> I assume you did this test on your desktop by reducing the width (only) of
> the window
>
> @media all and (min-device-width: 780px) and (orientation:portrait) {}
> says
> 1. the device is at least 780px wide (that almost certainly applies to your
> desktop monitor)
> 2. the orientation (of the window) is 'portrait' (the window is taller than
> it is wide)
>
> both conditions must be true
>
> What I guess you did:
> - starting with a window that is wider than tall ( = landscape)
> - reduce window width - the window becomes taller than it is wide.
>
> Now try reducing the _height_ of the window and see what happens…
>
> Here is a little test for you to play (works at least with Gecko 1.9.2 and
> Safari 5):
> http://dev.l-c-n.com/_temp/mq17.html
Please try these two without orientation:portrait
1) @media only screen and (min-device-width: 768px)
2) @media only screen and (device-width: 768px)
Is 1 correct behavior?
tee
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/