On Sat, 25 Feb 2017, Gerald Pfeifer wrote: > On the way I also slightly reduced padding left of the navigation bar, > and converted one instance of cellspacing="0" to the corresponding CSS.
This is the second part of this. Again, nice to notice how CSS reduces complexity inside the pages -- one central definition versus six local instances. Applied. Gerald Index: gcc.css =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v retrieving revision 1.47 diff -u -r1.47 gcc.css --- gcc.css 25 Feb 2017 11:41:17 -0000 1.47 +++ gcc.css 25 Feb 2017 11:45:12 -0000 @@ -37,6 +37,10 @@ border-spacing: 0pt; } +table.navitem { + border-spacing: 0pt; +} + table.navitem tr:nth-child(1) { border-color: #3366cc; border-style: solid; Index: style.mhtml =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v retrieving revision 1.133 diff -u -r1.133 style.mhtml --- style.mhtml 25 Feb 2017 11:41:18 -0000 1.133 +++ style.mhtml 25 Feb 2017 11:45:12 -0000 @@ -96,7 +96,7 @@ <td valign="top"> <!-- nav frame --> <table class="nav" border="0" cellpadding="2" width="10em"> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>About GCC</td></tr> <tr><td> <a href="<get-var BACKPATH>gccmission.html">Mission Statement</a><br /> @@ -118,7 +118,7 @@ </td></tr> </table></td></tr> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>Documentation</td></tr> <tr><td> <a href="https://gcc.gnu.org/install/">Installation</a><br /> @@ -130,7 +130,7 @@ </td></tr> </table></td></tr> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>Download</td></tr> <tr><td> <a href="<get-var BACKPATH>mirrors.html">Mirrors</a><br /> @@ -138,7 +138,7 @@ </td></tr> </table></td></tr> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>Sources</td></tr> <tr><td> <a href="<get-var BACKPATH>svn.html">SVN read access</a><br /> @@ -148,7 +148,7 @@ </td></tr> </table></td></tr> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>Development</td></tr> <tr><td> <a href="<get-var BACKPATH>develop.html">Development Plan</a><br /> @@ -165,7 +165,7 @@ </td></tr> </table></td></tr> - <tr><td><table class="navitem" cellspacing="0" width="100%"> + <tr><td><table class="navitem" width="100%"> <tr><td>Bugs</td></tr> <tr><td> <a href="<get-var BACKPATH>bugs/#known">Known bugs</a><br />