根据分辩率调用不同的CSS. |
本文标签:根据分辩率调用不同的CSS. 复制代码 代码如下: <head> <script language=javascript> <!-- if (screen.width == 800) { document.write(<link rel=stylesheet type="text/css" href="css800.css">) } else {document.write(<link rel=stylesheet type="text/css" href="css1024.css">)} //--> </script> </head> |