Remove explicit width specifications for items in the navigation bar;
use CSS for that instead.
(If we don't do that, individual items will not span the full width of
the navigation bar; some of them indeed would be narrower.)
Applied.
Gerald
Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.52
diff -u -r1.52 gcc.css
--- gcc.css 25 Aug 2018 13:00:04 -0000 1.52
+++ gcc.css 26 Aug 2018 12:38:21 -0000
@@ -40,6 +40,7 @@
}
table.navitem {
+ width: 100%;
border-spacing: 0pt;
}
Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.144
diff -u -r1.144 style.mhtml
--- style.mhtml 2 Jun 2018 21:16:11 -0000 1.144
+++ style.mhtml 26 Aug 2018 12:32:14 -0000
@@ -93,7 +93,7 @@
<td valign="top"> <!-- nav frame -->
<table class="nav" border="0" cellpadding="2" width="10em">
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>About GCC</td></tr>
<tr><td>
<a href="<get-var BACKPATH>gccmission.html">Mission Statement</a><br />
@@ -123,7 +123,7 @@
</td></tr>
</table></td></tr>
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>Documentation</td></tr>
<tr><td>
<a href="https://gcc.gnu.org/install/">Installation</a><br />
@@ -135,7 +135,7 @@
</td></tr>
</table></td></tr>
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>Download</td></tr>
<tr><td>
<a href="<get-var BACKPATH>mirrors.html">Mirrors</a><br />
@@ -143,7 +143,7 @@
</td></tr>
</table></td></tr>
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>Sources</td></tr>
<tr><td>
<a href="<get-var BACKPATH>svn.html">SVN read access</a><br />
@@ -153,7 +153,7 @@
</td></tr>
</table></td></tr>
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>Development</td></tr>
<tr><td>
<a href="<get-var BACKPATH>develop.html">Development Plan</a><br />
@@ -170,7 +170,7 @@
</td></tr>
</table></td></tr>
- <tr><td><table class="navitem" width="100%">
+ <tr><td><table class="navitem">
<tr><td>Bugs</td></tr>
<tr><td>
<a href="<get-var BACKPATH>bugs/#known">Known bugs</a><br />