![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Where is the stylesheet.css?
I follow on my slow trials with Sigil using xhtml files exported from OpenOffice.
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,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
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" /> Last edited by Valloric; 03-23-2010 at 02:11 PM. Reason: typo fix |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
![]() I just completed my low-level report here ![]() https://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,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |