Page 68 - JqueryMobile_Manual
P. 68

68

               </style>
               </head>
               <body>

               <div data-role="page" id="pageone">
                 <div data-role="header">
                   <h1>Customized Columns</h1>
                 </div>

                 <div data-role="main" class="ui-content">
                   <p>Three-column Styled Layout:</p>
                   <div class="ui-grid-b">
                     <div class="ui-block-a"><span>First Column</span></div>
                     <div class="ui-block-b"><span>Second Column</span></div>
                     <div class="ui-block-c"><span>Third Column</span></div>
                   </div>
                 </div>
               </div>

               </body>
               </html>

                                               Multiple rows inside columns
                                                  tryjqmob_grid_multiple.html
               <!DOCTYPE html>
               <html>
               <head>
               <meta name="viewport" content="width=device-width, initial-scale=1">
               <link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
               <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
               <script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
               </head>
               <body>

               <div data-role="page" id="pageone">
                 <div data-role="header">
                   <h1>Multiple Rows</h1>
                 </div>

                 <div data-role="main" class="ui-content">
                   <p>Three-column Layout:</p>
                   <div class="ui-grid-b">
                     <div class="ui-block-a" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-b" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-c" style="border:1px solid black;"><span>Some Text</span></div>
                   </div>

                   <p>Three-column Layout With Multiple Rows:</p>
                   <div class="ui-grid-b">
                     <div class="ui-block-a" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-b" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-c" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-a" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-b" style="border:1px solid black;"><span>Some Text</span></div>
                     <div class="ui-block-a" style="border:1px solid black;"><span>Some Text</span></div>
   63   64   65   66   67   68   69   70   71   72   73