From: Eur I. C. G. <cl...@is...> - 2007-03-05 12:23:15
|
On Mon, Mar 05, 2007 at 11:24:20AM +0000, Eur Ing Chris Green wrote: > > My question is what is the best/neatest/easiest way to set default CSS > styles for use in reStructuredText documents? In particular I want to > change the borders etc. for tables. > OK, I've found the answer, in the command line arguments for rst2html.py, however that raises a further question, --help produces:- --stylesheet=<URL> Specify a stylesheet URL, used verbatim. Overrides --stylesheet-path. --stylesheet-path=<file> Specify a stylesheet file, relative to the current working directory. The path is adjusted relative to the output HTML file. Overrides --stylesheet. Default: "/usr/lib/python2.4/site- packages/docutils/writers/html4css1/html4css1.css" Er, they both override each other? More to the point is there a way to have an additional style sheet which just overrrides some of the styles in the default style sheet? I want to keep the defaults for everything except tables. -- Chris Green |