This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: Is it time to rely on CSS?
- From: Bob Stayton <bobs at caldera dot com>
- To: Adam DiCarlo <adam at onshored dot com>
- Cc: Norman Walsh <ndw at nwalsh dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 21 Jan 2003 11:20:38 -0800
- Subject: Re: DOCBOOK-APPS: Re: Is it time to rely on CSS?
- References: <87k7gzle4y.fsf@nwalsh.com> <86el76wimu.fsf@gopher.onshored.com>
> Norman Walsh <ndw@nwalsh.com> writes:
>
> The answer seems pretty clearly to be "no".
>
I think the DocBook HTML stylesheets should do everything
they can to *enable* the proper use of CSS for styling
the HTML they generate. Currently they do a very good
of providing hooks with div, span, and class attributes.
I think the real question was "Why are you hard coding this
particular style that prevents my CSS stylesheet from
controlling it because of the cascade order?". We
currently have the 'css.decoration' parameter that controls
the application of some style attributes within elements.
Perhaps there just needs to be a more rigorous pass through
the stylesheet to make sure every hardcoded style is
controlled by that parameter. Then the stylesheet could
supply all the inline styles for those users that want them,
but turn them off for those who want a complete stylesheet.
If they turn off css.decoration and fail to supply the
stylesheet, then that's their fault.
I still think it would be useful to supply a sample
CSS stylesheet with the distribution that would serve
as a starting point for those who want to turn off
css.decoration.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com