diff options
author | Jonas Kohl | 2024-07-19 16:32:40 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-07-19 16:32:40 +0200 |
commit | fb2f397de32e7147994f7d99a7debfea6b812958 (patch) | |
tree | d771e6fc874b25a82464801fa55bb709fb06ea48 | |
parent | 551fe367342f4c3d4c859f58054c6076b3fe4d69 (diff) |
Change template formatting
-rw-r--r-- | src/template.php | 107 |
1 files changed, 51 insertions, 56 deletions
diff --git a/src/template.php b/src/template.php index 5c94a36..23ad324 100644 --- a/src/template.php +++ b/src/template.php @@ -7,62 +7,57 @@ <link rel="stylesheet" href="/static/style.css" type="text/css" /> </head> <body> - <div id="wrapper"> - <table id="mainLayout" cellspacing="0"> - <!-- - I know, cellspacing="0" is *not* valid XHTML in - XHTML 1.0 Strict, but IE versions below 7 don't support - the 'border-spacing' CSS property, so we have no other choice. - I also don't want to use XHTML Transitional, as that would put - IE into quirks mode, but I want to stay in standards mode. - --> - <tbody> - <tr id="logoRow"> - <td id="logoCell"> - <img src="/static/blank.gif" - alt="hozyro's site" - width="1" - height="136" /> - </td> - </tr> - <tr id="navRow"> - <td id="navCell"> - <table id="navLayout" cellspacing="0"> - <tbody> - <tr> - <td class="navCell" style="border-left:0"> - <a href="/">Home page</a> - </td> - <td class="navCell"> - <a href="/about.html">About me</a> - </td> - <td class="navCell"> - <a href="https://jonaskohl.de/"> - My actual website - </a> - </td> - <td class="navCell" - style="border-right:0"></td> - </tr> - </tbody> - </table> - </td> - </tr> - <tr id="mainRow"> - <td id="mainCell"> - <?php include $page ?> - </td> - </tr> - <tr id="footerRow"> - <td id="footerCell"> - Made by Jonas Kohl aka hozyro. This website is - <a href="https://git.jkohl.link/jonas/neocities-site"> - open-source - </a>. - </td> - </tr> - </tbody> +<div id="wrapper"> +<table id="mainLayout" cellspacing="0"> +<!-- + I know, cellspacing="0" is *not* valid XHTML in + XHTML 1.0 Strict, but IE versions below 7 don't support + the 'border-spacing' CSS property, so we have no other choice. + I also don't want to use XHTML Transitional, as that would put + IE into quirks mode, but I want to stay in standards mode. +--> +<tbody> +<tr id="logoRow"> +<td id="logoCell"> + <img src="/static/blank.gif" alt="hozyro's site" width="1" height="136" /> +</td> +</tr> +<tr id="navRow"> + <td id="navCell"> + <table id="navLayout" cellspacing="0"> + <tbody> + <tr> + <td class="navCell" style="border-left:0"> + <a href="/">Home page</a> + </td> + <td class="navCell"> + <a href="/about.html">About me</a> + </td> + <td class="navCell"> + <a href="https://jonaskohl.de/">My actual website</a> + </td> + <td class="navCell" + style="border-right:0"></td> + </tr> + </tbody> </table> - </div> + </td> +</tr> +<tr id="mainRow"> + <td id="mainCell"> + <?php include $page ?> + </td> +</tr> +<tr id="footerRow"> + <td id="footerCell"> + Made by Jonas Kohl aka hozyro. This website is + <a href="https://git.jkohl.link/jonas/neocities-site"> + open-source + </a>. + </td> +</tr> +</tbody> +</table> +</div> </body> </html> |