ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: manual with css
Date Mon, 07 Mar 2005 13:38:28 GMT
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
<table><tr><td><b> so
it´s 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-detec
tion.shtml
[3]
http://www.westciv.com/style_master/academy/browser_support/selectors.html


> -----Ursprüngliche Nachricht-----
> Von: Stefan Bodewig [mailto:bodewig@apache.org]
> Gesendet am: Montag, 7. März 2005 13:53
> An: dev@ant.apache.org
> Betreff: Re: manual with css
> 
> On Mon, 07 Mar 2005, Peter Reilly <peterreilly@apache.org> wrote:
> 
> > 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.
> 
> +1
> 
> > 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.
> 
> Wouldn't it be cleaner to 
> 
> (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
>     <font> elements at all
> 
> ?
> 
> I don't know enough about the inner workings of the xdocs proposal to
> know how easy (2) and (3) would be, though.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message