Quote:
Originally Posted by Toxaris
Ad 1. You can add it by right-clicking on the Styles folder and choose 'add existing item'. The CSS is then added to the ePub.
Specify the epub, but putting the following line between the <head>-tags:
Code:
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
You need to add the class= by hand of course. However, you can use search and replace with some RegEx. That might be useful to save time.
|
Be absolutely sure to make the part I highlighted in red match the name of your stylesheet in the Styles section
You might also note that you are not limited to a single stylesheet in a EPUB.
The advantage as I see it: You avoid monster size stylesheets, that need to be processed for every segment

Say you have a really complex set of styles that are only used for the 'front matter' (Title page, copyright, raves...) . Give those pages, their own Stylesheet, and the body of the book, it's own: Lean and Mean

stylesheet for quicker page rendering.