Advertisement
wzul

Intel XDK Box Model II

Feb 26th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.96 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4.  * Please see the included README.md file for license terms and conditions.
  5.  -->
  6. <head>
  7.     <title>Blank Cordova Mobile App Project Template (Lite)</title>
  8.     <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  9.  
  10.     <!-- see http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-dont-forget-the-viewport-meta-tag -->
  11.     <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  12.     <style>
  13.         /* following two viewport lines are equivalent to the meta viewport statement above, needed for Windows */
  14.         /* see http://www.quirksmode.org/blog/archives/2014/05/html5_dev_conf.html and http://dev.w3.org/csswg/css-device-adapt/ */
  15.         @-ms-viewport { width: 100vw ; zoom: 100% ; }  @viewport { width: 100vw ; zoom: 100% ; }
  16.         @-ms-viewport { user-zoom: fixed ; }           @viewport { user-zoom: fixed ; }
  17.     </style>
  18.  
  19.     <script src="cordova.js"></script>          <!-- phantom library, needed for Cordova api calls, added during build -->
  20.     <script src="js/app.js"></script>           <!-- recommended location of your JavaScript code relative to other JS files -->
  21.     <script src="xdk/init-dev.js"></script>     <!-- normalizes device and document ready events, see README for details -->
  22.     <link rel="stylesheet" href="gerimis.css">
  23. </head>
  24.    
  25.     <style>
  26.         .satu {
  27.             font-size: x-large;
  28.             font-weight: bold
  29.         }
  30.         .dua {
  31.             border-color: darkorange;
  32.             border-style: solid;
  33.             border-width: 5px
  34.         }
  35.         .tiga {
  36.             border-color: darkorange;
  37.             border-radius: 25px;
  38.             border-style: dotted;
  39.             background-color: yellow;
  40.             color: black;
  41.             padding-top: 13px
  42.         }
  43.         .empat {
  44.             font-weight: bold;
  45.             text-decoration: underline;
  46.         }
  47.         .lima {
  48.             position: relative;
  49.             float: left;
  50.             margin: 4px;
  51.         }
  52.         .enam {
  53.             background: url("background.jpg");
  54.             background-repeat: repeat
  55.         }
  56.         .tujuh {
  57.             background: url("foxy.jpg");
  58.         }
  59.     </style>
  60.  
  61. <body class="enam">
  62.     <p><a href="page2.html">Second page</a></p>
  63.    
  64.     <table border="1" class="tujuh">
  65.         <tr>
  66.             <td><div style="color: white">testingsdfksadsdalk sdaflksdakjsadf ;lkasdklf sadf;lksda;lkjasdfklj;as ;lkasdkljasdlk ad;lk jfsad;lkj dlkj asdlkj sadf;lj asd;lksadflkj fsad;lkjdfskj ldsafljdsafasdlkf asdfljk;dsaf lkjsadf lkjasdf;lkj sdaflk jdfsakdsaf</div></td>
  67.         </tr>
  68.     </table>
  69.    
  70.     <div class="satu">Fox</div><br />
  71.    
  72.     <img class="dua" src="foxy.jpg" width="300px">
  73.     <br /><br />
  74.     <div class="tiga">
  75.         <div><span class="empat">Fox is a common name for many species of carnivorous mammals belonging to the Canidae family.</span> Foxes are small to medium-sized canids (slightly smaller than the median-sized cosmetic dog), characterized by possing....</div><br />
  76.        
  77.         <div class="empat">Members of about 37 species are referred to as foxes, which only 12 species</div><br />
  78.     </div>
  79.     <br />
  80.     <img src="foxy.jpg" class="lima" width="100px"><div>The images are contained within the paragraph tag. The image has floated to the left and also to the right because we have used both types of image floating in this example. Noice how the textwraps around the images quite nicely. The images are contained within the paragraph tag. The image has floated to the left, and also to the dkljsdfklsdklsdasak;ljsadl;kjds;lk.</div>
  81.     <br /><br />
  82.     <img src="foxy.jpg" class="lima" width="100px" style="float: right"><div>The second paragraph has an image that is floated to the right. It should be noted that a margin should be added to images to that the text does not get too colose to the image. There should always be a few pixles between words.</div>
  83.  
  84. </body>
  85. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement