This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [wwwdocs] Complete revamp of our web site
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Sun, 2 Jul 2006 17:50:38 +0200 (CEST)
- Subject: Re: [wwwdocs] Complete revamp of our web site
- References: <Pine.LNX.4.61.0606052239430.16636@acrux.dbai.tuwien.ac.at> <200606052126.k55LQ9e4023581@greed.delorie.com> <A530B5E7-942A-4896-B8A3-2B60121BC360@physics.uc.edu> <Pine.LNX.4.61.0606112152360.16636@acrux.dbai.tuwien.ac.at> <m3k67nxtvb.fsf@localhost.localdomain> <Pine.LNX.4.61.0606210116560.13949@acrux.dbai.tuwien.ac.at> <m3u06eic0n.fsf@localhost.localdomain>
On Wed, 21 Jun 2006, Tom Tromey wrote:
> I think I'd like the intro paragraph to be in a middle column, not
> across the top. Then the news would be on the left and would be
> visible without scrolling. It is ok by me if the font is reduced to
> make this happen, or if we have to trim the intro quite a bit.
This is very hard to do, because the news section is so long. This
weekend, I rotated quite some entries, but it's not just the number,
but also the length of the individual entries which makes things hard.
(Before I started yesterday, the news along would fill my whole browser
window at high resolution and small font size.)
One idea I thought of is shooting for somewhat shorter news items in
the future, or really just four, at most five, with links to more
detailed descriptions somewhere else, plus the patch below, which I
have _not_ committed yet.
Note this uses CSS features which have been proposed five years ago,
but still not fully standardized, but it'll work for all Mozilla-based
browsers (including Firefox and derivates) and degrade nicely for others.
>>> Another thing for the gcj page to-do list is to rewrite it to use CSS
>>> layout instead of abusing tables.
>> Yessir!
I now also rewrite java/news.html to use CSS, so rotating news, and
changing things in general, is easier now.
Gerald
PS: This is the patch I referred to above.
--- java/index.html.orig 2006-07-02 17:43:00.914088500 +0200
+++ java/index.html 2006-07-02 17:43:37.460372500 +0200
@@ -81,6 +81,7 @@
<!-- News entries start here -->
+<div style="column-count:2; -moz-column-count:2;">
<dl class="news">
<dt>June 13, 2006</dt>
<dd>The May 2006 issue of Linux Journal contains the article "<a
@@ -153,6 +154,7 @@
look at GCJ 4.1</a>" for LWN.net.</dd>
</dl>
+</div>
<a href="news.html">Less recent GCJ news</a>