X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1E2C1D1B502 for ; Tue, 11 Nov 2003 06:18:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 75390-10 for ; Tue, 11 Nov 2003 02:18:01 -0400 (AST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by svr1.postgresql.org (Postfix) with ESMTP id 05B79D1B4E1 for ; Tue, 11 Nov 2003 02:18:00 -0400 (AST) Received: from myrealbox.com grzm@smtp-send.myrealbox.com [61.115.206.98] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.44 $ on Novell NetWare; Mon, 10 Nov 2003 23:18:02 -0700 Date: Tue, 11 Nov 2003 15:17:53 +0900 Subject: Re: Idea for a new index page Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Michael Glaesemann To: pgsql-www@postgresql.org Content-Transfer-Encoding: quoted-printable In-Reply-To: <20031110224236.24733.qmail@osiris.gamecrashnet.de> Message-Id: X-Mailer: Apple Mail (2.552) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/158 X-Sequence-Number: 2805 Erg. The past week has been frought with email ineptness on my part. If=20 a variation on this comes through, please forgive. On Tuesday, November 11, 2003, at 07:42 AM, Andreas Grabm=FCller wrote: > Michael, is it possible to choose the layout based on the browser size=20 > using XHTML/CSS or Javascript? So any user with 1024x768 sees=20 > test3.htm but any user with a lower resolution sees test4.htm? It's=20 > just the two boxes to change... It's definitely possible to switch style sheets using JavaScript and=20 straightforward XHTML and CSS. The most common usage of this I've seen=20 is for providing serif and sans-serif versions. As for detecting=20 browser size, nothing I know of in XHTML or CSS would prevent you from=20 doing this, but as far as I know they're not going to do it for you. However, I'm wondering whether or not this is necessary. From what I=20 gather, you're worried about the page being too wide because the Latest=20 News and Upcoming Events boxes are fixed width. When I first saw the=20 text*.htm examples, I put together similar structures on my local=20 machine. They resize very nicely, side by side, text reflowing and=20 preserving hanging indents on the lists, using · as bullets, down=20 to a width of about 850px. After that, you start losing the right=20 sidebar. And that might not be a hard limit. I haven't really tweaked=20 it much. I'd like to be able to show these examples, but I don't have a host.=20 Should I upload them to CVS? (Am I even able to? Do I require a GBorg=20 membership?) Michael