Advertisement
M00371202

coursework2 documentation2

Nov 11th, 2013
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <body style="background-color:gray;">
  4.  
  5. <style>
  6. body
  7. {
  8. background-image:url('background.jpg');
  9. background-color:#cccccc;
  10. background-repeat:repeat-y,x;
  11. background-position: centre centre;
  12.  
  13. }
  14. </style>
  15.  
  16.  
  17.  
  18. <div id="container" style="width:900px" align="center">
  19.  
  20. <div id="header" style="background-color:red;">
  21. <h1 style="margin-bottom:0;">First Drop- Box</h1></div>
  22.  
  23. // this code I have used div menu section of the frame layout in green color with the given height and width and I have used the list style for the page navigations
  24. <div id="menu" style="background-color:green;height:500px;width:200px;float:left;">
  25.  
  26. <li><b>Home</li></b>
  27. <li><b>Main</li></b>
  28. <li><b>Register</li></b>
  29. <li><b>About us</li></b>
  30. <li><b>Contact</li></b>
  31. </ul></div>
  32.  
  33.  
  34.  
  35. <div id="content" style="background-color:#EEEEEE;height:500px;width:700px;float:left;" align="left"></b></b></b></b></b>
  36.  
  37. // in the following code I have added table with 5 rows and 5 colunms with the fixed table border and table align//
  38.  
  39. <h1 align="center"> Data file table</h1></b></b></b></b></b>
  40.  
  41. <table border="1" align="center">
  42. <tr>
  43. <th>ID</th>
  44. <th>NAME</th>
  45. <th>TYPE</th>
  46. <th>DATEMODIFIED</th>
  47. <th>SIZE</th>
  48.  
  49. </tr>
  50. <tr>
  51.  
  52. <td>1</td>
  53. <td>Ms Word</td>
  54. <td>PDF</td>
  55. <td>11/11/13</td>
  56. <td>1KB</td>
  57. </tr>
  58. <tr>
  59.  
  60. <td>2</td>
  61. <td>POWERPOINT</td>
  62. <td>PDF</td>
  63. <td>09/11/13</td>
  64. <td>1KB</td>
  65. </tr>
  66. <tr>
  67. <td>3</td>
  68. <td>Excell</td>
  69. <td>exl</td>
  70. <td>09/11/13</td>
  71. <td>1KB</td>
  72. </tr>
  73. <tr>
  74.  
  75. </table>
  76. // this code is used to display delete, rename and upload button which able the user to enable the user to used these buttons for the table data but it is possible to do so when we have the data file on MySQL hosing//
  77. <button type="button" onclick= >Delete</button>
  78. <button type="button" onclick= >Rename</button>
  79. <button type="button" onclick= >Upload</button><br><br><br><br>
  80.  
  81. // this code is used to allow the user to watch youtube video //
  82.  
  83. <iframe width="220" height="145"
  84. src="http://www.youtube.com/watch?v=l6tkGSIFsH0">
  85. </iframe>
  86.  
  87.  
  88.  
  89. <br></div>
  90.  
  91.  
  92.  
  93.  
  94. <div id="footer" style="background-color:red;clear:both;text-align:center;">
  95. Friba Rawish</div>
  96.  
  97.  
  98. </div>
  99. </body>
  100. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement