Open GoogleCodeExporter opened 9 years ago
This is easy solvable.
You have full control over CSS selectors used:
Quote from WIKI:
Just Edit extern.css in /database/system/PRSPlus/epub/ to choose which
selectors are affected by CSS-tweaking.
Thanks for your insights shared in 7. I'm in no way CSS-expert and so I was not
sure, if subsequent font-size-definitions are be added up, or are related to
the base-fontsize.
Even so for subsequent CSS-seets. Embedded ones and style.css
Noticed lately some books, where S was ok, but set to 1.033em, the font became
much smaller, so this lead my to the assumption that font-size set to ...em
will apply to the font-base-size.
Original comment by Mark.N...@gentlemansclub.de
on 28 Dec 2012 at 8:24
When you specify sizes through ...em they are all applied one after other, but
just over inherited sizes. Conflictive settings are discarded.
In this way, if you have several "p {font-size: whatever}" styles because of
any reason:
- Several p CSS definitions in several css files,
- Additional definitions for base p (lower priority) AND for p.whateverclass
(higher priority),
only the very "uppest/highest priority" font-size setting will be applied. All
the conflictive and previous "lower prioity" font-size settings will be
discarded.
In this way with my ".nw{font-size:1em}", I'm overriding any font-size set
before me even the one set in the style.css file for the generic <span> tag.
But, as <span class="nw"> is inside a <p> (and <p> is also inside a <body>),
the final size I get is 1.0 x p size x body size.
BTW I don't understand how 1.033em can lead you to "much smaller" sizes. It
should always make your sizes bigger, (just a little, but bigger nevertheless),
than no setting one. ?!?!?!
Original comment by alr...@gmail.com
on 28 Dec 2012 at 2:00
Original issue reported on code.google.com by
alr...@gmail.com
on 27 Dec 2012 at 8:59