56日目 | web制作
本日は…
■メディアクエリについて
レスポンシブ対応かつ、IE対応にする
→
<!--[if lte IE 9]--> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"> </script> <!--[endif]--> <!--[if lte IE 9]--> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <!--[endif]-->
ヘッダーに記入
さらに
<style> article, aside, header, footer, main, nav, section { display: block; } </style>
実際のサイト
Media Queries