Guest User

Untitled

a guest
Jan 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. ------index file--------
  2. <!--#include virtual="header.html"-->
  3. <!--#include virtual="nav.html"-->
  4. <h2>Index</h2>
  5. <p>This is the index</p>
  6. <!--#include virtual="footer.html"-->
  7.  
  8. ------Header file--------
  9. <!doctype html>
  10. <html>
  11. <head>
  12. <title>Test</title>
  13. <link href="css/style.css" rel="stylesheet">
  14. <a href="/index.shtml"><IMG SRC="img/tux-logo.gif" ALT="Tux"/></a> Tux
  15. </head>
  16. <body>
  17.  
  18. </body>
  19.  
  20.  
  21. ------Nav file--------
  22. <!doctype html>
  23. <html>
  24. <head>
  25. <title></title>
  26. <link href="css/style.css" rel="stylesheet">
  27. </head>
  28. <body>
  29. <h3>Menu</h3>
  30. <ul id="navlist">
  31. <li>
  32. <a href="page1.html">Page 1</a>
  33. </li>
  34. <li>
  35. <a href="page2.html">Page 2</a>
  36. </li>
  37. </ul>
  38. <div id="content">
  39.  
  40.  
  41.  
  42. --- style.css -----
  43. /* Page layout */
  44. BODY {background-color: #424242;}
  45.  
  46.  
  47. /* Headers */
  48. h1 {font-family: Arial, Verdana, Helvetica, sans-serif;
  49. font-size: 40px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
  50.  
  51. h2 {font-family: Arial, Verdana, Helvetica, sans-serif;
  52. font-size: 30px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
  53.  
  54. h3 {font-family: Arial, Verdana, Helvetica, sans-serif;
  55. font-size: 20px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
  56.  
  57.  
  58. /* Links */
  59. a:link { color: #cdcdcd; text-decoration: none; }
  60. a:visited { color: #9b9b9b; text-decoration: none; }
  61. a:hover { color: #858585; }
  62.  
  63.  
  64. /* Fonts */
  65. P.FIRST { font-family:Arial, Sans-serif; font-size:1.1em; margin-bottom: 0; margin-top: 0; }
  66. P.SECOND { font-family:Arial, Sans-serif; font-size:1.5em; margin-bottom: 0; margin-top: 0; }
  67. P.THIRD { font-family: Courier, Courier, monospace; font-size:1.25em; margin-bottom: 0; margin-top: 0; }
  68. P.FOURTH { font-family: Courier, Courier, monospace; font-size:1.0em; margin-bottom: 0; margin-top: 0; }
  69.  
  70.  
  71. /* Lists */
  72. #navlist { padding: 0;
  73. margin: 0;
  74. list-style-type: none;
  75. margin-bottom: 0;
  76. margin-top: 0;}
  77.  
  78.  
  79. /* Float div */
  80. #content { border: 1px solid #000000;
  81. width: 85%;
  82. float: right;
  83. vertical-align:text-top;
  84. }
  85.  
  86.  
  87. ------Page1 file--------
Add Comment
Please, Sign In to add comment