From 6519303549732d61de9e2905916f64a7d5b76910 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 11 Sep 2013 14:46:31 -0700 Subject: fixes #10497: Fix Windows 8 and Windows Phone 8 behavior and apply it to the docs --- getting-started.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'getting-started.html') diff --git a/getting-started.html b/getting-started.html index 886ac5cec..80880f787 100644 --- a/getting-started.html +++ b/getting-started.html @@ -727,8 +727,12 @@ bootstrap/ {% endhighlight %}

See this StackOverflow question for more information.

-

Windows Phone 8 and Internet Explorer 10

-

Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix.

+

Internet Explorer 10 in Windows 8 and Windows Phone 8

+

Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't properly apply the media queries in Bootstrap's CSS. Normally you'd just add a quick snippet of CSS to fix this:

+{% highlight css %} +@-ms-viewport { width: device-width; } +{% endhighlight %} +

However, this doesn't work as it causes Windows Phone 8 devices to show a mostly desktop view instead of narrow "phone" view. To address this, you'll need to include the following CSS and JavaScript to work around the bug until Microsoft issues a fix.

{% highlight css %} @-webkit-viewport { width: device-width; } @-moz-viewport { width: device-width; } @@ -749,6 +753,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { } {% endhighlight %}

For more information and usage guidelines, read Windows Phone 8 and Device-Width.

+

As a heads up, we include this in the Bootstrap docs as an example.

Safari percent rounding

In the latest Safari for Mac, its rendering engine has a little trouble with the long decimal places of our .col-*-1 grid classes, meaning if you have 12 individual columns you'll notice they come up short compared to other rows of columns. We can't do much here (see #9282) but you do have some options:

-- cgit v1.2.3