Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 63034 invoked from network); 7 Mar 2005 13:38:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Mar 2005 13:38:44 -0000 Received: (qmail 39670 invoked by uid 500); 7 Mar 2005 13:38:43 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 39338 invoked by uid 500); 7 Mar 2005 13:38:42 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 39323 invoked by uid 99); 7 Mar 2005 13:38:42 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_50_60,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from dnsinet.rzf-nrw.de (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 07 Mar 2005 05:38:40 -0800 Received: from z011100.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id j27DcUaM031774 for ; Mon, 7 Mar 2005 14:38:30 +0100 Received: from z011104.bk.fin.local ([130.11.7.104]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Mon, 7 Mar 2005 14:38:30 +0100 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Mon, 7 Mar 2005 14:38:30 +0100 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23FC72@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: dev@ant.apache.org Subject: AW: manual with css Date: Mon, 7 Mar 2005 14:38:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5231A.F1E425F0" X-OriginalArrivalTime: 07 Mar 2005 13:38:31.0724 (UTC) FILETIME=[F3DA9EC0:01C5231A] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5231A.F1E425F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I found another style: /* first row */ table tr:first-child td { background-color: cccccc; color: 000000; } which uses a pseudo-class selector [1] of CSS 2.1. The table header in subant has this special colors, but the "old" manual (javac) has only a
so it=B4s difficult to select the cells. Works with Firefox 1.0, IE 6.0 = ignores that. By searching I found two interesting resources: "CSS hacks & browser detection" [2] with nice infos and links and "browser support - Selectors" [3] which lists = the browsesr and their support of selectors (other features in separate tables linked = there). Jan [1] http://www.w3.org/TR/CSS21/selector.html#first-child [2] http://www.webcredible.co.uk/user-friendly-resources/css/hacks-browser-d= etec tion.shtml [3] http://www.westciv.com/style_master/academy/browser_support/selectors.ht= ml > -----Urspr=FCngliche Nachricht----- > Von: Stefan Bodewig [mailto:bodewig@apache.org] > Gesendet am: Montag, 7. M=E4rz 2005 13:53 > An: dev@ant.apache.org > Betreff: Re: manual with css >=20 > On Mon, 07 Mar 2005, Peter Reilly wrote: >=20 > > I have been looking at using a little css to make the hand-made ant > > manual pages look a bit like the generated ant manual pages. >=20 > +1 >=20 > > I would like to add a reference to the css file for > > the non-generated pages. It probablly should be > > a different stylesheet file that the antmanual.css as > > that one should also be used by the generated pages. >=20 > Wouldn't it be cleaner to=20 >=20 > (1) add that to antmanual.css > (2) make the xdocs proposal reference antmanual.css > (3) make the xdocs proposal not create any bgcolor attributes or > elements at all >=20 > ? >=20 > I don't know enough about the inner workings of the xdocs proposal to > know how easy (2) and (3) would be, though. >=20 > Stefan >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 ------_=_NextPart_001_01C5231A.F1E425F0--