|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,045
Karma: 416729
Join Date: Jan 2009
Device: KoboGlo
|
Where is the stylesheet.css?
I took several steps to try to improve the quality of my html file (xhtml in fact) and I have been rewarded with better and better results with Sigil. I hope to provide you with a test file and some comments soon, including images. ![]() One thing surprises me though: when Sigil creates an EPUB, it seems it does not provide a stylesheet.css file. If I hand this epub to calibre, and let him do a conversion from epub to epub, it provides me with a stylesheet.css file. Due to my cleaning work, I can see that this file is now quite short and handy to work on. Question So where could I find the stylesheet.css in the first epub from Sigil? |
|
|
|
|
|
#2 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
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" />
__________________
Try Sigil, the free and open source ebook editor Try FlightCrew, the superior open source epub validator Last edited by Valloric; 03-23-2010 at 02:11 PM. Reason: typo fix |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,045
Karma: 416729
Join Date: Jan 2009
Device: KoboGlo
|
Quote:
![]() I just completed my low-level report here http://www.mobileread.com/forums/sho...77&postcount=7 A happy user Last edited by roger64; 03-25-2010 at 12:25 AM. |
|
|
|
|
|
|
#4 | |
|
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Quote:
For one of my books I copied your link, and spent two hours to find out where the error was. At last, Mikel, the developer of EPUBReader, found it for me!
|
|
|
|
|
|
|
#5 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
It's a typo, I've fixed it now. Sorry
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stylesheet examples? | Skitzman69 | Sigil | 15 | 09-24-2010 08:24 PM |
| ePub margins : @page vs stylesheet.css | Agama | Calibre | 1 | 08-16-2010 04:37 PM |
| How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 08:37 PM |
| EPub conversion stylesheet.css problem | nycaleksey | Calibre | 1 | 03-25-2010 11:42 PM |
| Skinning Gmail with a Custom Stylesheet | Colin Dunstan | Lounge | 0 | 02-14-2005 08:20 AM |