Quote:
Originally Posted by Phylis Sophical
Thanks, Blackest. I think I am slowly starting to get this. By creating a style sheet in Sigil, I can insert that where I want to change something throughout the epub, rather than editing the line in each place I want the change. Am I close?
|
I'd say pretty much spot on. xml and css seperate the content from the style and it can be as simple or complex as you like really. XML and HTML are very similar, so much so you can copy a html page on the web into a xml page part of an epub very easily.
you can style locally or via a series of, or a single style sheet. Style sheets were made to support different mediums and devices. You could produce a page with a style sheet for a laptop screen or a different one for a mobile phone or maybe to print a page.
http://www.csszengarden.com/216/ and
http://www.csszengarden.com/218/ are the same pages but with different css styling there is a whole bunch of different css styles on that site. while I wouldn't suggest using anything as complicated as those examples for an ebook it really does show off some of the power of css.
The best thing because you use css for similar elements it ensures the book has a consistant style. Layout wise anyway