<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Htt
P://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "Text/html;charset=utf-8" >
<title>Document</title>
<meta name= "viewport" content= "width=device-width,initial-scale=1"/>
<!--[If LT ie 9]>
<script src= "Http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js" ></script>
<! [endif]-->
<link rel= "stylesheet" type= ' text/css ' media= "screen and (max-device-width:400px)" href= "Tinyscreen.css"/>
<link rel= "stylesheet" media= "screen and (min-width:400px) and (max-device-width:600px;)" href= "Small.css"/>
@import url ("tinyscreen.css") screen and (max-device-width:400px);
<style>
@media screen and (max-device-width:400px) {
. column{
Float:none;
Width:auto;
}
. sidebar{
Display:none;
}
}
body{
Font:normal 100% Arial sans-serif helvetica;//font size default is 16PX
}
h1{
Font-size:1.5em;1.5*16=24px
}
. de{
width:100%;
Width:auto;
}
. fl{
Float:left;
width:70%;//avoids overflow, horizontal scroll bar appears
}
. fr{
Float:right;
width:25%;
}
img,object{
max-width:100%;
}
img{
width:100px;//old version does not support Max-width
Image distortion may occur when zooming a picture on the-ms-interpolation-mode:bicubic;//windows platform
}
</style>
<body>
<!--
-
</body>
<!--
The production of Adaptive interface
1, add viewport in the head, only the default width, and the height//IE9 up will support this property, IE6,IE7,IE8 import Css3-mediaqueris.js
-
Flow layouts and resilient layouts