
David A. Desrosiers wrote:
I can guarantee that CSS file is in the PG directory. I can't guarantee that Joe Sixpack will download that when he grabs the HTML file.
This is one of those problems with no easy answer. If you want the user to be able to download your book to read offline, then you've got to also make sure the user downloads the style sheet that goes with it. [If you only expect them to read online, it doesn't matter.] My own solution is simply to make a zip file for downloading, which includes both the html page(s) and style sheet. I use the same style sheet for all books, but actually copy it to each ebook's directory, so there are currently around 850 copies of the same style sheet. But it is trivial to update them all from the master. It still uses more space, but the alternative, having all the html files link to a single css doesn't allow for zipping and downloading. Steve -- Stephen Thomas, Senior Systems Analyst, Adelaide University Library ADELAIDE UNIVERSITY SA 5005 AUSTRALIA Tel: +61 8 8303 5190 Fax: +61 8 8303 4369 Email: stephen.thomas@adelaide.edu.au URL: http://staff.library.adelaide.edu.au/~sthomas/