Le Jeudi 20 Novembre 2003 16:36, Bruce Momjian a écrit :
> Michael Glaesemann wrote:
> > >> As Peter has pointed out, the CSS can handle a lot of it. It doesn't
> > >> have to be hardcoded into the SGML-to-HTML transformation. One option
> > >> would be to use colors as well (I'm not talking a rainbow of fruit
> > >> flavors here :). In particular, I find italics often difficult to read
> > >> on the web. I'll try to get a few styles worked up by tomorrow that
> > >
> > > I think it is the monospace italics that really look bad.
> >
> > I'd have to agree with you. Making them a color other than the text
> > (black) or the links (blue/purple depending on your eyes) would set
> > them off quite well. Serif fonts at small sizes can also be pretty
> > nasty, though this isn't an issue with the PostgreSQL docs.
>
> If we go with color, making them printable on a non-color printer
> becomes a problem.
This is not totaly true.
You can have alternate stylesheets depending on the media : on colorized for
screen, one black and white for printer. Latest releases of current browers
(mozilla, ie6) are able to handle these tags :
<link rel="stylesheet" type="text/css" href="2columnspg.css" media="screen"
title="TwoColumn">
<link rel="stylesheet" type="text/css" href="printpg.css" media="print">
Adding a title make them available for stylesheet switching in the browser
(mozilla).
--
Guillaume
<!-- http://absfr.tuxfamily.org/
http://pgsql-fr.tuxfamily.org/ -->.