[wwwdocs,Java] java/index.html -- fix formatting on gcc.gnu.org

Gerald Pfeifer gerald@pfeifer.com
Sun Apr 10 01:09:00 GMT 2016


It turns out the stricter server settings also broke the /java
page on gcc.gnu.org.

This restores showing two columns on this page (though it still
uses non-standard CSS extensions).


That said, looking at the page, and how since 2005 nearly all changes
have been maintainance ones from me, is it really worthwhile keeping
this (short of historic reasons)?

2016-04-08  Gerald Pfeifer  <gerald@pfeifer.com>

	* index.html: Replace manual style to establish two columns
	by new global CSS class "twocolumns".

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.38
diff -u -r1.38 gcc.css
--- gcc.css	5 Apr 2016 16:20:29 -0000	1.38
+++ gcc.css	9 Apr 2016 16:22:40 -0000
@@ -15,6 +15,8 @@
 .highlight{ color: darkslategray; font-weight:bold; }
 .smaller  { font-size: 80%; }
 
+.twocolumns { column-counts:2; -moz-column-count:2; }
+
 td.news      { width: 50%; padding-right: 8px; }
 td.news h2   { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
 td.news dl   { margin-top:0; }

Index: java/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/index.html,v
retrieving revision 1.177
diff -u -r1.177 index.html
--- java/index.html	27 Jun 2014 15:04:39 -0000	1.177
+++ java/index.html	9 Apr 2016 16:22:41 -0000
@@ -32,7 +33,7 @@
 
 <h2><a name="news">GCJ News</a></h2>
 
-<div style="column-count:2; -moz-column-count:2;">
+<div class="twocolumns">
 
 <!-- News entries start here -->
 



More information about the Gcc-patches mailing list