fix h2 div containment conflict

It turns out that one cannot have a div element inside an h2 element.

This does not work:

```html
<h2><div id="copyright">Copyright and CC BY-SA 4.0 License</div></h2>
```

Instead we need to do:

```html
<div id="copyright"><h2>Copyright and CC BY-SA 4.0 License</h2></div>
```

We are testing a fix for the top level HTML files.

Run `make gen_top_html` to perform the above and test under macOS.

TODO: Apply this type of fix across the entire web site if all is well.
This commit is contained in:
Landon Curt Noll committed 2024-04-15 17:15:38 -07:00
1 parent 759bb42717
commit 783f6550a7
16 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -328,7 +328,7 @@ See also <a href="faq.html">the IOCCC FAQ</a> for additional information on the
-->
<div class="footer">
<h2><div id="copyright">Copyright and CC BY-SA 4.0 License</div></h2>
<div id="copyright"><h2>Copyright and CC BY-SA 4.0 License</h2></div>
<p>All IOCCC content including this file and web page are:</p>
<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copyright &copy; 1984-2024 by Landon Curt Noll. <a href="https://creativecommons.org/faq/#what-does-some-rights-reserved-mean">Some Rights Reserved</a>.</b>
<p>This work is licensed by Landon Curt Noll under:</p>