View Single Post
Old 07-14-2010, 10:19 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by amoroso View Post
How can I maintain a global CSS stylesheet, i.e. a CSS file whose definitions apply to all the XHTML files of an ebook? I can manually include the stylesheet by editing the <HEAD> section of each XHTML file. But I was wondering whether Sigil provides any specific tools.
Sigil starts up with a blank page
You can "Add Existing" (stylesheet) if you have a base stylesheet you start from.

and put the standard css link in the head of the document:
Code:
  <link rel="stylesheet" href="../Styles/stylesheet.css" type="text/css" />
(use the actual file name if you want it to work )

Once Sigil has a sheet for the project, A Sigil-Split/ "Add New" will in include it in the next page
theducks is offline   Reply With Quote