ورود

View Full Version : سوال: عدم پشتیبانی ie8 از media query



0xEHSAN
چهارشنبه 16 دی 1394, 18:24 عصر
درود عزیزان یک مشکل دارم که کلا هنگ کردم هر کاری که هم کردم درست نشد که نشد میخواستم از مدیا کوئری تو اینترنت اکسپلورر 8 استفاده کنم اما مشکلی که هست از respond.jd و css3-mediaquery.js هم استفاده کردم اما اینا هم جواب ندادن عزیزان لطفا راهنماییم کنید





<!DOCTYPE html><html><head> <title>This is sample page1</title> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" > <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/media.js"></script> <meta charset="utf8"/> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/xs.css" media="screen and (min-width:320px)" /> <link rel="stylesheet" type="text/css" href="css/sm.css" media="screen and (min-width:481px)" /> <link rel="stylesheet" type="text/css" href="css/md.css" media="screen and (min-width:641px)" /> <link rel="stylesheet" type="text/css" href="css/lg.css" media="screen and (min-width:991px)" /> <link rel="stylesheet" type="text/css" href="css/xl.css" media="screen and (min-width:1281px)" /></head><body><div class="container pad xs6 sm1 md6 xl3">متن نمونه</div></body></html>


هیچ یک از مدیا کوئری ها رو فراخوانی نمیکنه چونکه ie8 نداشتم از متا تگ
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" > استفاده کردم

0xEHSAN
پنج شنبه 17 دی 1394, 19:37 عصر
درود عزیزانی که این مشکل رو دارند respond.js یا css3-mediaquery.js روی آدرس file:/// کار نمیکنه حتما باید آدرس سرور باشه