01-27-2012, 11:27 AM | #1 |
Wizard
Posts: 2,549
Karma: 3799999
Join Date: Jun 2009
Location: O'Fallon, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3
|
Have sigil not generate inline CSS
I've been working on a book, and one of the things I'm running into now (which is really ultimately the hold up for me releasing it) is that now Sigil is wanting to only do inline CSS for anything new, instead of using the CSS file that is in the epub.
The file was generated by Sigil with an older version. It never has been worked on outside of Sigil. Now, Sigil made a CSS file, and was using it, but now, it is refusing to add anything to it, and instead only adds it to the head of each file. This is frustrating, because now I have the CSS fragmented all over the place, making it more difficult to make widespread changes. When I've removed all formatting from a page, removed the inline CSS from the code, and stripped all tags, as soon as I try to recreate the format I had, Sigil goes back to doing it inline. Is there any way I can have Sigil use the CSS file again? |
01-27-2012, 12:43 PM | #2 | |
Well trained by Cats
Posts: 29,805
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IMHO, I would preffer a second, Sigil.CSS in preference to an inline one. (EPUB allows multiple style sheets) First and Last of all, the SGC codes would become unified across pages . Copying code (with SGC styles) between page will now WORK |
|
Advert | |
|
01-27-2012, 12:55 PM | #3 |
Wizard
Posts: 2,549
Karma: 3799999
Join Date: Jun 2009
Location: O'Fallon, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3
|
That's weird. I have an ePub I made using Sigil, with a CSS file, that includes sgc codes. I've not monkeyed with the CSS file, other than to add one single entry for changing the width of HR since validation complained about using the width property in the tag itself. The file I've worked on through pretty much every version of Sigil. I'm even more confused now that you say that it was never inline. Think it could have been related to a change someone else made that never made it back upstream? While I originally compiled and made my own deb packages, I stopped doing that and started using other people's premade packages. I've had to change repositories a few times as people stopped making packages for one reason or another.
Long story short, yeah, if I could have a unified CSS file for all the SGC stuff, I'd be happy. |
01-27-2012, 01:16 PM | #4 | |
Well trained by Cats
Posts: 29,805
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Sigil SGC codes were ALWAY inline Note: I only edit existing. Maybe there is a option. Don't even see a default CSS , You can add a Blank one (r-Click), but I don't see a tool to make the appropriate link ( it would be cool if you could drag a stylesheet from the book browser and have the Link entry automatically created) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-950 A little web too to generate custom CSS | gsgleason | Sony Reader | 0 | 12-18-2011 06:51 PM |
Sigil UI and the CSS | Artha | Sigil | 2 | 11-22-2011 02:22 PM |
Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |
Inline css not handled correctly by HTML to epub? | kiwidude | Conversion | 7 | 04-04-2011 09:59 AM |
Sigil and CSS files | crutledge | Sigil | 6 | 05-20-2010 09:02 AM |