This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] Replace valign="top" on our main page by CSS
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 25 Aug 2018 15:58:59 +0200 (CEST)
- Subject: [wwwdocs] Replace valign="top" on our main page by CSS
A minor step towards HTML 5.
Committed.
Gerald
Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.51
diff -u -r1.51 gcc.css
--- gcc.css 4 Apr 2018 17:43:03 -0000 1.51
+++ gcc.css 25 Aug 2018 12:58:54 -0000
@@ -19,14 +19,15 @@
.twocolumns { column-counts:2; -moz-column-count:2; }
.imgleft { margin: 5px 20px; float: left; }
-td.news { width: 50%; padding-right: 8px; }
+td.news { width: 50%; padding-right: 8px; vertical-align: top; }
td.news h2 { font-size: 1.2em; margin-top: 0; margin-bottom: 2%; }
td.news dl { margin-top:0; }
td.news dt { color:darkslategrey; font-weight:bold; margin-top:0.3em; }
td.news dd { margin-left:3ex; margin-top:0.1em; margin-bottom:0.1em; }
td.news .date { color:darkslategrey; font-size:90%; margin-left:0.1ex; }
-td.status { width: 50%; padding-left: 12px; border-left: #3366cc thin solid; }
+td.status { width: 50%; padding-left: 12px; vertical-align: top;
+ border-left: #3366cc thin solid; }
td.status h2 { font-size: 1.2em; margin-top:0; margin-bottom: 1%; }
td.status dl { margin-top:0; }
td.status .version { font-weight:bold; }
Index: index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.1091
diff -u -r1.1091 index.html
--- index.html 17 Aug 2018 19:22:22 -0000 1.1091
+++ index.html 25 Aug 2018 12:58:55 -0000
@@ -48,7 +48,7 @@
become longer than the parallel one, whatever happens first.
-->
-<td class="news" valign="top">
+<td class="news">
<h2 id="news">News</h2>
<dl>
@@ -105,7 +105,7 @@
-</td><td class="status" valign="top">
+</td><td class="status">
<h2>Supported Releases</h2>
<dl>