Turn the listing into one table

The page looked messy when each section was a separate table with
different column widths than the others.

The W3C HTML Validator now gives the following error, but I cannot
figure out how to get around it without complicated CSS.

The element “h2” must not appear as a descendant of the “th” element.
This commit is contained in:
Lassi Kortela 2024-10-20 15:05:16 +03:00
parent 0d8ff55f34
commit 473b073527
1 changed files with 22 additions and 14 deletions

View File

@ -31,8 +31,12 @@
</header> </header>
<h1 id="logo">Scheme Conservatory</h1> <h1 id="logo">Scheme Conservatory</h1>
<p>Preservation and maintenance of old software and websites.</p> <p>Preservation and maintenance of old software and websites.</p>
<h2>Websites</h2>
<table class="no-border"> <table class="no-border">
<tr>
<th colspan="2">
<h2>Websites</h2>
</th>
</tr>
<tr> <tr>
<th> <th>
<a href="schemers/">Schemers.org</a> <a href="schemers/">Schemers.org</a>
@ -58,9 +62,11 @@
</th> </th>
<td>Hosted at Indiana University</td> <td>Hosted at Indiana University</td>
</tr> </tr>
</table> <tr>
<th colspan="2">
<h2>Implementations</h2> <h2>Implementations</h2>
<table class="no-border"> </th>
</tr>
<tr> <tr>
<th> <th>
<a href="dream/">Dream</a> <a href="dream/">Dream</a>
@ -127,9 +133,11 @@
</th> </th>
<td>R4RS for the VxWorks RTOS</td> <td>R4RS for the VxWorks RTOS</td>
</tr> </tr>
</table> <tr>
<th colspan="2">
<h2>Libraries</h2> <h2>Libraries</h2>
<table class="no-border"> </th>
</tr>
<tr> <tr>
<th> <th>
<a href="ffigen/">FFIGEN</a> <a href="ffigen/">FFIGEN</a>
@ -148,9 +156,11 @@
</th> </th>
<td>Portable syntax-case with implicit phasing</td> <td>Portable syntax-case with implicit phasing</td>
</tr> </tr>
</table> <tr>
<th colspan="2">
<h2>Applications</h2> <h2>Applications</h2>
<table class="no-border"> </th>
</tr>
<tr> <tr>
<th> <th>
<a href="dreamos/">DreamOS</a> <a href="dreamos/">DreamOS</a>
@ -171,9 +181,7 @@
</tr> </tr>
</table> </table>
<h2>Contributing</h2> <h2>Contributing</h2>
<th> <p><a href="https://gitea.scheme.org/conservatory">Repositories
<a href="https://gitea.scheme.org/conservatory">Repositories at at <code>gitea.scheme.org</code></a></p>
<code>gitea.scheme.org</code></a>
</th>
</body> </body>
</html> </html>