diff options
| author | Chris Rebert <[email protected]> | 2015-01-21 12:41:11 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-01-21 13:05:14 -0800 |
| commit | a1126ef655d130b726c7d08359d589e93fc9531a (patch) | |
| tree | f254a44db30a90b84ef270cc54edade927783cea /docs/getting-started | |
| parent | 55cb723e08fa407d499b7aebde7d6e797b6d4ac4 (diff) | |
| download | bootstrap-a1126ef655d130b726c7d08359d589e93fc9531a.tar.xz bootstrap-a1126ef655d130b726c7d08359d589e93fc9531a.zip | |
Reorg @viewport now that we don't need to worry about non-responsive layouts
Diffstat (limited to 'docs/getting-started')
| -rw-r--r-- | docs/getting-started/support.md | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/docs/getting-started/support.md b/docs/getting-started/support.md index 348b1893f..63667fe85 100644 --- a/docs/getting-started/support.md +++ b/docs/getting-started/support.md @@ -128,23 +128,9 @@ This tag is included in all of Bootstrap's documentation and examples to ensure See [this StackOverflow question](http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge) for more information. -### Internet Explorer 10 in Windows 8 and Windows Phone 8 +### Internet Explorer 10 in 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 scss %} -@-ms-viewport { width: device-width; } -{% endhighlight %} - -However, this doesn't work for devices running Windows Phone 8 versions older than [Update 3 (a.k.a. GDR3)](http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/10/14/introducing-windows-phone-preview-for-developers.aspx), as it causes such 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**. - -{% highlight scss %} -@-webkit-viewport { width: device-width; } -@-moz-viewport { width: device-width; } -@-ms-viewport { width: device-width; } -@-o-viewport { width: device-width; } -@viewport { width: device-width; } -{% endhighlight %} +Internet Explorer 10 in Windows Phone 8 versions older than [Update 3 (a.k.a. GDR3)](http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/10/14/introducing-windows-phone-preview-for-developers.aspx) doesn't differentiate **device width** from **viewport width** in `@-ms-viewport` at-rules, and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, you'll need to **include the following JavaScript to work around the bug**. {% highlight js %} if (navigator.userAgent.match(/IEMobile\/10\.0/)) { |
