Web|web Standard | Web page
<?xml version= "1.0" encoding= "iso-8859-1"? ><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "><ptml xmlns=" http://www.w3.org/1999/xhtml "><pead><title>untitled document</title> <meta http-equiv= "Content-type" content= "text/html; Charset=iso-8859-1 "/><style type=" Text/css ">body {text-align:center} #outer {width:60%; background: #ffffcc ; Margin:auto; Text-align:center}. inner {width:100px; height:100px; margin:5px; border:1px solid #000;} * HTML. Inner {display:inline}/* for ie*/html>body #outer {display:table}/*for Mozilla */html>body. Inner {display: table;float:left}/*for Mozilla */@media All and (min-width:0px) {/* Opera 7 styles */html>body. Inner {display:inline-b Lock;float:none}} </style></head><body><!--Force quirks mode by using the XML pro-logue--><div id= "outer" > <div class= "inner" >test</div> <div class= "Inner ">2</div> <div class=" inner ">3</div> <div class=" inner ">4</div> <div class= "Inner" >5</div> <div class= "inner" >6</div> <div class= "inner" >7</div> <div class = "inner" >8</div> <div class= "inner" >9</div> <div class= "inner" >10</div> <div class= "inner" >11</div> <div class= "inner" >12</div> <div class= "inner" >13</div> <BR style= "Clear:both"/></div></body></html>
[Ctrl + A ALL SELECT hint: You can modify some of the code, and then run]
untitled document
test
2
3
4
5
6
7
8
9
10
11
12
13
<BR style= "Clear:both"/>