![]() |
How to maintain a global CSS stylesheet
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.
|
If you include the stylesheet call in the <head> of the html document before you import it, (and assuming it's in the same directory as the css sheet you're importing), it will include the stylesheet call automatically in the head of each xhtml section/page, and import the css sheet at the same time. Once you've broken up the pages, you'll have to manually insert it, but you could do a S&R in Codeview to include it by using the </head> code....
|
Quote:
|
Quote:
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" />Once Sigil has a sheet for the project, A Sigil-Split/ "Add New" will in include it in the next page |
Thanks, Ducky, for clarifying my post, which was a quickie. {Groucho eyebrows here}. If you write a quickie, Ducky, is it a quackie?
Amaroso, are you good2go now? |
Quote:
|
Quote:
Figuring out, just what Sigil does in different places is my challenge. Not everything works the way I expect it to happen. |
Quote:
I tried to think of something clever to say about a metaphorical stogie, but my imagination failed me, probably because I've spent the day wrestling with the fools at Amazon. Honestly....:angry: Don't get me wrong; what they've done for ebook publishing is the bee's knees, as they say...but bejaysus they can be a royal pain in the @ss to deal with about book formatting!! I've been back and forth with them about 10 times now as to WHY a Calibre-formatted .mobi won't work on K4PC, so I finally gave the frack up and ran the original Sigil-epub thru to .mobi and then back again to Calibre-gen'd-epub, through KindleGen, to get a .mobi that Amazon can't claim is somehow faulty on my part for any failure to display on K4PC. Just because THEY don't have K4PC working properly. Wankers. Hitch |
| All times are GMT -4. The time now is 07:35 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.