Thread: Disapearing CSS
View Single Post
Old 03-25-2015, 12:53 PM   #58
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,554
Karma: 5703586
Join Date: Nov 2009
Device: many
I have now recreated this on current Sigil master.

1) Open Sigil (default document is present)
2) File->Add->Existing Files
- Move to any existing .css file and add it
3) Right Click on only file (Section0001.xhtml) and choose Link to Stylesheets and choose your newly added stylesheet
4) Tools->Table of Contents -> Generate HTML Table of Contents
5) File -> Save As
save to junk.epub

Now leave Sigil and go and unzip your new junk.epub and look at the css file you added, it will be blank and have size zero bytes.

This is 100% percent repeatable for me.

Will someone else please verify they can recreate the exact same issue. If so, I will try and track down what is actually going on here.

Thanks,

KevinH

Last edited by KevinH; 03-25-2015 at 12:59 PM.
KevinH is offline   Reply With Quote