View Single Post
Old 03-22-2010, 12:31 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
If your original file had a CSS stylesheet, it will have one when you open it in Sigil. If it doesn't, it won't.

Creating a new CSS file is easy. Right-click the "Styles" folder in the Book Browser, and choose "Add new item...". Don't forget to link to that CSS file in the <head> section of the XHTML files, like so:

Code:
<link rel="stylesheet" href="../Styles/Style0001.css" type="text/css" />
Admittedly, that last part is a pain. In a future version, Sigil will ask you from which XHTML files do you want the new stylesheet to be automatically linked.

Last edited by Valloric; 03-23-2010 at 02:11 PM. Reason: typo fix
Valloric is offline   Reply With Quote