This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Complete revamp of our web site


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 &quot;<a
@@ -153,6 +154,7 @@
 look at GCJ 4.1</a>&quot; for LWN.net.</dd>
 
 </dl>
+</div>
 
 <a href="news.html">Less recent GCJ news</a>
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]