Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------index file--------
- <!--#include virtual="header.html"-->
- <!--#include virtual="nav.html"-->
- <h2>Index</h2>
- <p>This is the index</p>
- <!--#include virtual="footer.html"-->
- ------Header file--------
- <!doctype html>
- <html>
- <head>
- <title>Test</title>
- <link href="css/style.css" rel="stylesheet">
- <a href="/index.shtml"><IMG SRC="img/tux-logo.gif" ALT="Tux"/></a> Tux
- </head>
- <body>
- </body>
- ------Nav file--------
- <!doctype html>
- <html>
- <head>
- <title></title>
- <link href="css/style.css" rel="stylesheet">
- </head>
- <body>
- <h3>Menu</h3>
- <ul id="navlist">
- <li>
- <a href="page1.html">Page 1</a>
- </li>
- <li>
- <a href="page2.html">Page 2</a>
- </li>
- </ul>
- <div id="content">
- --- style.css -----
- /* Page layout */
- BODY {background-color: #424242;}
- /* Headers */
- h1 {font-family: Arial, Verdana, Helvetica, sans-serif;
- font-size: 40px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
- h2 {font-family: Arial, Verdana, Helvetica, sans-serif;
- font-size: 30px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
- h3 {font-family: Arial, Verdana, Helvetica, sans-serif;
- font-size: 20px; color: #cdcdcd; font-weight: bold; margin-bottom: 0; margin-top: 0;}
- /* Links */
- a:link { color: #cdcdcd; text-decoration: none; }
- a:visited { color: #9b9b9b; text-decoration: none; }
- a:hover { color: #858585; }
- /* Fonts */
- P.FIRST { font-family:Arial, Sans-serif; font-size:1.1em; margin-bottom: 0; margin-top: 0; }
- P.SECOND { font-family:Arial, Sans-serif; font-size:1.5em; margin-bottom: 0; margin-top: 0; }
- P.THIRD { font-family: Courier, Courier, monospace; font-size:1.25em; margin-bottom: 0; margin-top: 0; }
- P.FOURTH { font-family: Courier, Courier, monospace; font-size:1.0em; margin-bottom: 0; margin-top: 0; }
- /* Lists */
- #navlist { padding: 0;
- margin: 0;
- list-style-type: none;
- margin-bottom: 0;
- margin-top: 0;}
- /* Float div */
- #content { border: 1px solid #000000;
- width: 85%;
- float: right;
- vertical-align:text-top;
- }
- ------Page1 file--------
Add Comment
Please, Sign In to add comment