Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
`CSS` or "Cascading Style Sheets" is a language for describing the look and formatting of a document. It is often used in web pages or XML.
5
votes
Accepted
Is it a good idea to minify code when coding ePubs?
Personally, I never minify code in ebooks. A big part of the reason for that is that unlike many here, I don't use Sigil or Calibre to edit my epub files—I use either Notepad++ or Geany depending on t …
7
votes
Accepted
custom bullets html ebook kindle
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ol>
</nav>
You could as easily give the class definition to each <ol>, and then have the CSS …
3
votes
Accepted
Formatting Table of Contents in epub using HTML TOC or Logical TOC and how to include TOCs i...
The epub 3 toc.xhtml was created specifically to do away with the need to have separate logical and visual ToCs. Unfortunately, it's not quite there. As long as you're only interested in adding some s …
1
vote
How can I toggle text reliably across all ereaders in an epub file?
Ebook reading systems support a fairly limited subset of HTML and CSS. … Of particular relevance, most of them do not support the advanced CSS selectors like the type being used in the checkbox hack that you link—there's no selecting the adjacent sibling. …
1
vote
Setting up margins in ePUB and Kindle ebooks and @page rule
JohnLepic is quite right that some devices ignore @page while others accept it happily. Because of this, I find it's best practice to use a small @page value if I use one at all—it doesn't make sense …
2
votes
Accepted
How do I build multiple ebooks using common blocks of content and styling, such as title pag...
In your CSS file, you could have default styles already built for the things you use all the time. … You could even have default boilerplate styles at the top of the CSS file for all the basic element type (<p>, <li>, and so on) and then just add other CSS rules at the bottom of the file as needed—since …
7
votes
Accepted
footnote as popup in epub
this blog post, I'm guessing the former—it sounds like you can include the correct namespacing in an epub 2 file to allow epub:type to work, and change the <aside> tag to a <p> with display: none on its CSS …
12
votes
Accepted
Centering images and text in ePUB and Kindle ebooks
The most reliable method I've found for centering is:
<div class="centered_image">
<img src="image.jpg" alt="Alternate text" />
</div>
With css like this:
div.centered_image {
width: 60%;
margin …
3
votes
Accepted
Body Text Formatting and Text Indentation for Kindle eBooks
If you can provide some of the relevant xhtml and css, I'd be happy to see if there are any errors I can spot. Using a CSS validator is also a great option. …
9
votes
Accepted
Is there a detailed guide for creating an ebook for Kindle in HTML/CSS
Your best bet is to start with a solid epub file and run that through either KindleGen or Kindle Previewer. Other tools such as Sigil and Calibre are convenient, but often cause problems down the road …
9
votes
Can custom fonts be embedded in mobi or epub books targeting eink readers?
Then you can define b.exclamation { Font-weight: normal; font-family: awesome_font; } in your CSS. … That will make the text bold if publisher CSS is off, but put it in your awesome font if publisher CSS is working. …