0

もちろん、IEの互換性に問題があります.IE9と10はうまく機能しますが、IE8と下位のブラウザではモバイルバージョンのCSSを読み取ります. 別のバージョンにリダイレクトするコードを head セクションに追加しようとしましたが、まだ達成できませんでした。

元のウェブサイトは

http://thehouseofseven.com/ottima/index.html

これにリダイレクトします

http://thehouseofseven.com/ottima/indexie.html

助けていただければ幸いです。

輝く一日を

    <!doctype html>

<!--[if lte IE 8]>
<meta http-equiv="refresh" content="0;       url=http://thehouseofseven.com/ottima/indexie.html>
<![endif]-->

<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]>    <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Ottima Wellness and Ingtegrative Medicine Center | North America’s premier 

統合医療センター

4

2 に答える 2

-1

私が見つけた解決策の 1 つは、IE8 用のスタイルシートを作成することです。

クラスの名前のように.ie8を追加しました

例:

.ie8 .gridContainer.clearfix .fluid.logo #ロゴ {

width: 174px;

height: 76px;

}

于 2013-10-02T16:41:23.277 に答える