]> git.bochard.net Git - mysite.git/commitdiff
fixed a layout issue
authorbochard <git@bochard.net>
Wed, 17 Dec 2025 08:08:47 +0000 (16:08 +0800)
committerbochard <git@bochard.net>
Wed, 17 Dec 2025 13:10:46 +0000 (21:10 +0800)
index.php
part/foot.php
part/head.php

index ea73ad164ed34f37f23a7fcc7a374079fd4fc145..f382ae6d6297b4e322f612724378c1149031a302 100644 (file)
--- a/index.php
+++ b/index.php
@@ -8,21 +8,20 @@
 ?>\r
 <body background="/image/background/clouds.gif">\r
 <center>\r
-       <!-- banner here.. -->  \r
-       <img src="/image/home-banner2.png" style="margin: 0;">\r
-       <!-- the body -->\r
-       <table style="margin-top: -20px;">\r
+       <table width="900">\r
                <tr>\r
-                       <td width="900">\r
-                               <!-- this table is what holds the side nav and main content -->\r
-                               <table>\r
+                       <td>\r
+                               <!-- banner here.. -->  \r
+                               <center><img src="/image/home-banner2.png"></center>\r
+                               <!-- the body -->\r
+                               <table width="100%" style="margin-top: -25px;">\r
                                        <tr>\r
                                                <!-- side navigation -->\r
                                                <td valign="top">\r
                                                        <table width="170" background="/image/background/bkgr2.jpg" cellpadding="3" cellspacing="0" border="3">\r
                                                                <tr>\r
                                                                        <td>\r
-                                                                               <center><font color="#eef261"><h2>Web site menu</h2></font><center>\r
+                                                                               <center><font color="#eef261"><h2>Web site menu</h2></font></center>\r
                                                                                <table width="100%">\r
                                                                                        <tr><td bgcolor="#87ff85"><center><b><a href="/">Homepage</a></b></center></td></tr>\r
                                                                                        <tr><td bgcolor="#ffc975"><center><b><a href="/diary">Diary</a></b></center></td></tr>\r
                                                                        </td>\r
                                                                </tr>\r
                                                        </table>\r
+                                                       <!-- for the footer -->\r
+                                                       <?php include_once("$part/foot.php");?>\r
                                                </td>\r
                                                <!-- random updates -->\r
                                                <td valign="top">\r
                                                        <table width="150" bgcolor="#efefef" cellpadding="3" cellspacing="0" border="3">\r
                                                                <tr>\r
                                                                        <td>\r
-                                                                               <center><h2>[nothing here yet... =>]</h2><center>\r
+                                                                               <center><h2>[nothing here yet... =>]</h2></center>\r
                                                                        </td>\r
                                                                </tr>\r
                                                        </table>\r
                        </td>\r
                </tr>\r
        </table>\r
-\r
-       <br><br>\r
-                               \r
-       <!-- for the footer -->\r
-       <table>\r
-               <tr>\r
-                       <td><?php include_once("$part/foot.php");?></td>\r
-               </tr>\r
-       </table>\r
 </center>\r
 </body>\r
 </html>\r
index 3c7cdbc38e10013fbeada5a2ef792f92603dcfea..17b80832a57e5cdb719eaafe8b4bc606e3fce6e6 100644 (file)
@@ -1,32 +1,41 @@
+<br><br>
 <center>
-       <font face="Courier" size="2"><b>If you like, I can add your own badge here. Just hit me on my email.</b></font>
-       <br><br>
-       <table>
-               <tr>
-                       <td><a href="https://www.hitwebcounter.com" target="_blank"><img src="https://hitwebcounter.com/counter/counter.php?page=20998791&style=0019&nbdigits=5&type=ip&initCount=231" Alt="Visit counter For Websites" title="total unique visitors" border="0" width="100"></a></td>
-                       <td><a href="http://www.anybrowser.org/campaign/"><img src="/image/badge/anybrowser.gif" alt="Viewable With Any Browser" title="best to view on computer screen" width="100"></a></td>
-                       <td><img src="/image/badge/mullvad.avif" alt="free the internet" title="support the independent web" width="100"></td>
-                       <td><a href="https://heliohost.org"><img src="/image/badge/heliohost-org.gif" alt="heliohost" title="hosted by heliohost.org" height="70"></a></td>
-               </tr>
-               <tr>
-                       <td><img src="/image/badge/hatsunemikuapproved.gif" alt="hatsune miku approved" title="100% approved by hatsune miku!" width="100"></td>
-                       <td><img src="/image/badge/anybrows.gif" alt="any browser" title="works on any browser you can think of" width="100"></td>
-                       <td><img src="/image/badge/saynotoweb3.gif" alt="no to web3" title="web3 sucks" width="100"></td>
-                       <td><a href="/email.php"><img src="/image/gif/emailmedesktop.gif" alt="e-mail" title="write me an e-mail"></a></td>
-               </tr>
-               <tr>
-                       <td><img src="/image/badge/notepad.gif" alt="made with notepad" title="made with notepad (jk, I used geany)" width="100"></td>
-                       <td><a href="http://www.wiby.org"><img src="/image/badge/wiby.org.gif" alt="wiby.org" title="search old sites with wiby.org!" width="100"></a></td>
-                       <td><img src="/image/badge/getacomp.jpg" alt="get a computer" title="site not optimized for mobile screens!!!" width="100"></td>
-               </tr>
-       </table>
-       <table align="center">
+       <table width="600">
                <tr>
                        <td>
                                <center>
-                                       <br>
-                                       <b>ἀγάπην τοῦ θεοῦ</b><br>
-                                       This site is hand-coded since 2024.
+                                       <font face="Courier" size="2"><b>If you like, I can add your own badge here. Just hit me on my email.</b></font>
+                                       <br><br>
+                                       <table>
+                                               <tr>
+                                                       <td><a href="https://www.hitwebcounter.com" target="_blank"><img src="https://hitwebcounter.com/counter/counter.php?page=20998791&style=0019&nbdigits=5&type=ip&initCount=231" Alt="Visit counter For Websites" title="total unique visitors" border="0" width="100"></a></td>
+                                                       <td><a href="http://www.anybrowser.org/campaign/"><img src="/image/badge/anybrowser.gif" alt="Viewable With Any Browser" title="best to view on computer screen" width="100"></a></td>
+                                                       <td><img src="/image/badge/mullvad.avif" alt="free the internet" title="support the independent web" width="100"></td>
+                                                       <td><a href="https://heliohost.org"><img src="/image/badge/heliohost-org.gif" alt="heliohost" title="hosted by heliohost.org" height="70"></a></td>
+                                               </tr>
+                                               <tr>
+                                                       <td><img src="/image/badge/hatsunemikuapproved.gif" alt="hatsune miku approved" title="100% approved by hatsune miku!" width="100"></td>
+                                                       <td><img src="/image/badge/anybrows.gif" alt="any browser" title="works on any browser you can think of" width="100"></td>
+                                                       <td><img src="/image/badge/saynotoweb3.gif" alt="no to web3" title="web3 sucks" width="100"></td>
+                                                       <td><a href="/email.php"><img src="/image/gif/emailmedesktop.gif" alt="e-mail" title="write me an e-mail"></a></td>
+                                               </tr>
+                                               <tr>
+                                                       <td><img src="/image/badge/notepad.gif" alt="made with notepad" title="made with notepad (jk, I used geany)" width="100"></td>
+                                                       <td><a href="http://www.wiby.org"><img src="/image/badge/wiby.org.gif" alt="wiby.org" title="search old sites with wiby.org!" width="100"></a></td>
+                                                       <td><img src="/image/badge/getacomp.jpg" alt="get a computer" title="site not optimized for mobile screens!!!" width="100"></td>
+                                               </tr>
+                                       </table>
+                                       <table align="center">
+                                               <tr>
+                                                       <td>
+                                                               <center>
+                                                                       <br>
+                                                                       <b>ἀγάπην τοῦ θεοῦ</b><br>
+                                                                       This site is hand-coded since 2024.
+                                                               </center>
+                                                       </td>
+                                               </tr>
+                                       </table>
                                </center>
                        </td>
                </tr>
index f478dfcb2cbb370f4cdf91a7175d4ed16efe0600..83d84597be5b402e109975bed74a92412d66c808 100644 (file)
@@ -7,7 +7,7 @@ function head($pgtitle, $pgdescription = null, $pgcss = [], $pgjs = []){?>
       <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
       <meta name="robots" content="index,follow">
       <link rel="shortcut icon" href="/image/icon/pink-chair.png">
-      <meta name="viewport" content="initial-scale=1.0,shrink-to-fit=no">
+      <meta name="viewport" content="width=1200,initial-scale=1.0,shrink-to-fit=no">
 
     <title><?= htmlspecialchars($pgtitle, ENT_COMPAT);?></title>
     <?php