IE 和 ED 上的 Bootstrap/css 个 found/working
Bootstrap/css nof found/working on IE and ED
我正在开发一个网络应用程序,令我“大吃一惊”的是,我发现我的 css / bootstrap 在 Internet Explorer 和 Microsoft Edge 上无法运行。我已经尝试了 Whosebug 上的一些东西,但没有任何效果,有人碰巧看到了问题
Console EDGE
代码:
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Meta informatie -->
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="../assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!-- Titel -->
<title>Login</title>
<!-- CSS files -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="assets/css/stylesIndex.css" rel="stylesheet" type="text/css" >
</head>
此致
巴特气球
您的代码没有问题,我认为您的问题出在您使用的 IE 上。
我在 IE 11 上测试了您的网站,它看起来很好,如下图所示。
我正在开发一个网络应用程序,令我“大吃一惊”的是,我发现我的 css / bootstrap 在 Internet Explorer 和 Microsoft Edge 上无法运行。我已经尝试了 Whosebug 上的一些东西,但没有任何效果,有人碰巧看到了问题
Console EDGE
代码:
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Meta informatie -->
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="../assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!-- Titel -->
<title>Login</title>
<!-- CSS files -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="assets/css/stylesIndex.css" rel="stylesheet" type="text/css" >
</head>
此致
巴特气球
您的代码没有问题,我认为您的问题出在您使用的 IE 上。
我在 IE 11 上测试了您的网站,它看起来很好,如下图所示。