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.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
58 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
92 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
51 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
39 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
123 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
21 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
194 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 ...
0
votes
0answers
969 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 ...