Questions tagged [css]

`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.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
62 views

How well does Google Play Books support page-oriented css? (i.e., page breaks)

While testing ebooks, I have been finding deficiencies in css support in Google Play Books. Namely, this doesn't work: h2 { page-break-before: always; } GPB's support for embedded ...
1
vote
0answers
96 views

how to read code part of technical book on kobo

I have many technical ebooks with coding examples but it's unreadable because there's no scrollbar and many lines are longer than my ebook screen. I have tried to change it in an open ebook by adding ...
1
vote
0answers
56 views

Removing white background from linked images

My first epub looks fine when viewed in iBooks, but it has a problem in Kindle. Hyperlinked home page icons have a white background. So a triangular image just looks like a big white square. I added ...
1
vote
0answers
43 views

Need a Workaround for CSS Overrides

I'm working on an epub in Sigil. Things are going pretty good, but I'm puzzled by some kind of CSS bug. For example, I want all the fonts in the table of contents section to be sans-serif. So I put ...
1
vote
0answers
1k views

Setting default ePub font in iBooks

I acquired a sample epub file from a client to use as a template for new epub files. When I open this file in iBooks (v 1.0.1), the paragraph text by default has the font Iowan, and the style ...
1
vote
0answers
134 views

landscape orientation in ereaders: css for both 1 and 2 page layout?

I'm trying to write css media queries for landscape and portrait orientations. With widths of 1024 pix and wider, you think that 1024 pixels is enough to have 2 columns instead of 1. But does any ...
0
votes
0answers
18 views

Formatting for dark mode

I tend to read ebooks in dark mode, in the Kindle app specifically. One thing that always bugs me is whenever there is a special symbol or ornament in the text that has been inserted as an image - it ...
0
votes
0answers
16 views

Can anybody help me modifying those css code?

I used those code from Github to change the theme of calibre reader. Everything seems okay but as you can see in the screenshot, at the right part and at the bottom part, the long text gets cut off. I ...
0
votes
0answers
9 views

How do you increase the padding at the bottom of the window on Kindle?

My MOBI is looking great, except for a very tight bottom padding on Kindle. On any of the Kindle devices I'm testing with (two Android, and an eInk version), the last sentence of a page is ...
0
votes
0answers
14 views

Font size toggle not working for iBooks on iPad

I've built an epub 3 (reflowable) and the client is saying the font size won't adjust in iBooks on his iPad. I've tested it everywhere else (including iBooks for Mac, I don't have an iOS device) and ...
0
votes
0answers
161 views

Is there an equivalent of TeX's \hfill in CSS?

Subject says it all. I know that I can use float:left and float:right, but this does not work if the combined lenght of texts is more than a line. I would like to have some text anchored to the left ...
0
votes
1answer
421 views

EPUB 3 CSS stylesheet ignored in some cases?

I created a MOBI file using Kindlegen. I fed the MOBI file to Calibre and converted it to an EPUB. If I view the HTML files I used to create the MOBI file, they look great. All formatting is picked ...