06-17-2010, 06:34 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2007
Location: Manchester, England
Device: Kobo Forma
|
Copying Styles
I am new to Sigil and looking for some help.
I have a number of books that I wish to convert to epub and would like to keep the same styles for all of them. I have created a "Lorem Ipsum" doc formatted with all the styles I need - body text, verse, table, hanging indent, references etc. Although I am not familar with .css, I am trying to learn and recognise the basics. My question is, once I have a set of styles that I wish to use for all my books, can I simply copy/paste the css code into a new document after opening the new document and deleting the existing code from the new document? Sorry if this sounds rather basic - I couldn't any reference to this on searching the forum. Many thanks John |
06-17-2010, 07:52 AM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Yes, you can do that. If your style rules don't use classes or ID's, but are directly applied to HTML elements, then it would work without any problems.
If you're using classes or ID's, then you'd have to add those to the HTML code of the other books to make it work. |
Advert | |
|
06-17-2010, 01:32 PM | #3 | |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
So if you have some favorite style sheets , add them so you can then, use them. Sounds like a huge job editing/adding class=whatever to more than a few items. Maybe Valloric will invent some simple to use style/tag tools From within the CSS. Count Uses in document of selected. (current,you must copy the class type, paste into a Find. Open the first page in code view, click at the top to set the start point, Select All HTML in the Find , then click Count) Class replacer Replaces the Class portion for x type tags. Nil replace value, Removes respects Tag types ticked (Invert option: All BUT ticked) Class me tool. Add a "span class=yada" to selected text in Book view. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Menu Styles | shinken | Sigil | 1 | 08-27-2010 07:07 AM |
<hr /> styles | trstill | Introduce Yourself | 1 | 05-30-2010 02:57 PM |
So many styles! | roger64 | Calibre | 3 | 03-21-2010 09:05 AM |
styles formatting | marcostt | Sigil | 3 | 08-07-2009 12:27 PM |
Wiki and styles | tribble | Feedback | 1 | 10-20-2006 06:46 AM |