Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Code written by Jacob Howard
- 12/9/16
- If you wish to use this template, you do not have to ask for permission.
- If you wish to use this template for commercial purposes, please leave this comment.
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Code Template 6</title>
- <style>
- /*
- Code written by Jacob Howard
- 12/9/16
- If you wish to use this template, you do not have to ask for permission.
- If you wish to use this template for commercial purposes, please leave this comment.
- */
- body {
- background:#000;
- color:#FFF;
- font-family:"Arial Narrow", sans-serif;
- font-size:1.4em;
- }
- #wrapper {
- width:80%;
- max-width:1600px;
- min-width:720px;
- margin-left:auto;
- margin-right:auto;
- padding:15px;
- margin-top:2%;
- }
- #holder {
- border:none;
- width:100%;
- }
- #nav {
- width:20%;
- }
- #main {
- width:80%;
- }
- fieldset {
- border:2px solid #0000AA;
- }
- XMP {
- display:inline;
- }
- nav button {
- border:2px solid #0000AA;
- height:50px;
- width:100%;
- font-family:"Arial Narrow", sans-serif;
- color:#FFF;
- background:#000;
- font-size:1.4em;
- margin-top:5px;
- margin-bottom:5px;
- -moz-transition: all .2s ease-in;
- -o-transition: all .2s ease-in;
- -webkit-transition: all .2s ease-in;
- }
- nav button:hover {
- color:#000;
- background:#FFF;
- }
- </style>
- </head>
- <body>
- <div id="wrapper">
- <table id="holder">
- <tr>
- <td id="tophead" colspan="2">
- <header><h1>Code Template 6</h1></header>
- </td>
- </tr>
- <tr>
- <td id="nav">
- <!--
- URLs go here. Replace "#" with the link you wish for it to lead.
- i.e. "https://www.google.com/"
- To make the page open in a new tab, add the attribute ' target="_blank" '
- i.e. <a href="https://www.google.com/" target="_blank">
- -->
- <fieldset id="lside">
- <legend>Navigation</legend>
- <nav>
- <a href="#"><button>Page 1</button></a>
- <a href="#"><button>Page 2</button></a>
- <a href="#"><button>Page 3</button></a>
- <a href="#"><button>Page 4</button></a>
- <a href="#"><button>Page 5</button></a>
- </nav>
- </fieldset>
- </td>
- <td id="main">
- <fieldset id="rside">
- <legend>Content</legend>
- <p><!-- You probably want to delete this if you plan on using this template. -->
- Again, another example paragraph that proves that this box is very fluid with the content! How I did this was I used the very uncommon <code><XMP><fieldset></XMP></code> and <code><XMP><legend></XMP></code> tags to make this possible.<br>
- Probably less prominent and new web designers who may or may not be using this template may be thinking to themselves: <br>"Wait, what? How did you just use tags on a webpage without them getting parsed?"<br>
- Well, it's easy. You use the heavily depricated and out-of-date <XMP><XMP></XMP> tag! While recommended to never use it by the W3C, it works as great as ever!<br>
- Wait, the navigation box to the left is still beating us! I really need to make this paragraph longer so that those buttons aren't larger, because that just looks weird.<Br>
- Ugh, forget it. This ultrawide monitors are hard to design on, because I sometimes have to look at it from a 4:3 perspective...
- </p>
- </fieldset>
- </td>
- </tr>
- </table>
- </div>
- </body>
- </html>
Advertisement