Beginning with EdgeHTML 15 in the Windows 10 Creators Update, Microsoft Edge introduces support for CSS Custom Properties, a new primitive value type to fully cascade variables across
CSS properties.
CSS properties that are not supported in EPUB 2.
As a matter of consequence, we have huge tables with EPUB Specs,
CSS properties, HTML tags, readers (and rendering engines), «supported Yes / No» and comments (how they are supported).
However, we do still discourage ebook designers from using the following
CSS properties:
There were a whole bunch of implications in this sentence: «Ibis Reader tries to override the following
CSS properties when used on an iPhone, iPod Touch, Droid, or Nexus One (as an installed app) at the chapter level:» that I'd love to have clarified:
Because of limitations in screen size, Ibis Reader tries to override the following
CSS properties when used on an iPhone, iPod Touch, Droid, or Nexus One (as an installed app) at the chapter level:
Consult the BB eBooks Developers page for CSS boilerplate and read the Amazon Publishing Guidelines for a full list of unsupported
CSS properties.
EPUB 3.1 also maintains some prefixed
CSS properties, to ensure consistent support for global languages.
One bonus I can't resist adding: Jen Simmons's excellent talk on the graphic design possibilities posed by new
CSS properties (CSS Grid!)
-- There's also the option to remove existing
CSS properties for fonts, margins, and padding under «Filter Style Information».
It is a proprietary format and this means that they can do whatever they want with it, adding new
CSS properties and whatnot.
the iBooks format works with custom
CSS properties that are not standard nor documented.
April 19 2011 Update: Liz Castro addresses this issue; apparently, the problem is that ibooks doesn't support
css properties for width for img while all the other epub implementations seem to.
It also has newfound support to extrapolate PDF metadata and the ability to click on any HTML / OPF / NCX tag name or
CSS property and the editor will open some help for that item in your browser.
Although the page - progression - direction attribute sets the global flow direction, individual Content Documents and parts of Content Documents may override this setting (e.g., via the writing - mode
CSS property).
CSS property display: none no longer induces an additional space in Mobi7 for inline tags.
This was due to usage of «margin - left»
CSS property with bullets and numbered lists.
They came through with a small change to the final release version of KindleGen that allows the use of negative values in the text - indent
CSS property.
The margin - left
CSS property will continue to be preserved in KF8.
Not exact matches
But, Chlipala says, «One thing the compiler can do is analyze your full program and say, «Here is an exhaustive list of all the
CSS classes that might be mentioned, and here is a description of the context in which each class might be used, which tells you what
properties might be worth setting.»
The
CSS line - height
property is used to display the line height for the paragraph at twice the height of the font.
The
CSS font selection mechanism describes how to match a given set of
CSS font
properties to a single font face.
I want my style
properties in my
CSS style sheet to be honored (maybe they already do?).
Also, test the device using an EPUB that has a
CSS style sheet with a range of style
properties, and see if the style
properties are being honored.
The following
CSS contains classes,
properties, and values to cover basic book manuscript elements.
-- «Extended underlining is based on an old draft of
CSS 3 Text and some of these proposed
properties were dropped by the
CSS WG after discussion in www - style.»
While the
CSS display
property can be used to control the visual rendering of EPUB Navigation Documents in Reading Systems with
CSS Viewports, not all Reading Systems provide such an interface.
During Media Overlays playback, Reading Systems with a
CSS Viewport should add the class names given by the metadata
properties active - class and playback - active - class to the appropriate elements in the EPUB Content Document.
Learn about the most useful
properties to use in
CSS for ebooks, and the rules that help you define the way a particular chunk of text or an image displays.
Many uses of absolutely - positioned
CSS will gracefully degrade if these
property values are ignored, and such graceful degradation behavior (non-reliance) is encouraged.
The - epub - ruby - position
property will become an alias for the ruby - position
property in the
CSS Ruby Module [
CSS3Ruby].
The EPUB 3
CSS Profile includes - epub - prefixed versions of the following
properties from the
CSS3 Speech Module [
CSS3Speech] using syntax as defined in [
CSS3Speech - 20110818] and semantics as defined in [
CSS3Speech]:
Authors are advised to use
CSS - native solutions for the removed
properties where and when they are available.
In the past, EPUB defined a profile of
CSS that mandated support for certain
properties and provided prefixed versions of numerous other
properties.
The EPUB 3
CSS Profile includes all of the features defined in the
CSS Multi-column Layout Module [CSSMultiCol] specification with the exception of the column - span
property.
Authors are strongly encouraged to use unprefixed
properties, and Reading Systems to support current
CSS specifications.
In addition, the EPUB 3
CSS Profile includes the unprefixed text - transform
property from
CSS Text Level 3 using semantics as defined in [
CSS3Text] and syntax as defined in [
CSS3Text - 20110412], with the exception that the fullwidth and fullsize - kana values are prefixed in the EPUB 3
CSS Profile -LRB-- epub - fullwidth and - epub - fullsize - kana, respectively).
With exceptions for the direction and unicode - bidi
properties as noted below, the EPUB 3
CSS Profile includes all of the features defined in the
CSS Writing Modes Module Level 3 [
CSS3WritingModes] specification using - epub - prefixed
property names, syntax as defined in [
CSS3WritingModes - 20110428] and semantics as defined in [
CSS3WritingModes].
The EPUB 3
CSS Profile employs the usage of the - epub - prefix for a number of
CSS3
property names, as detailed below.
The EPUB 3
CSS Profile includes - epub - prefixed versions of the following
properties from the
CSS Text Level 3 [
CSS3Text] specification using syntax as defined in [
CSS3Text - 20110412] and semantics as defined in [
CSS3Text].
The EPUB specification has, for a long time, included the custom
CSS values oeb - page - head and oeb - page - foot for the display
property.
EPUB Content Documents can reference
CSS Style Sheets, allowing Authors to define the desired rendering
properties.
The rendition: page - spread - *
properties take precedence over whatever value of the page - break - before
property [
CSS Snapshot] has been set for an XHTML Content Document.
As support for paged media evolves in
CSS, however, this
property is expected to be deprecated.
The styleClass
property must have the name of a
CSS class defined in the stylesheet.
In the context of this specification, the default display style of list items within nav elements must be equivalent to the list - style: none
property [
CSS Snapshot].
But the final
CSS rule includes the
property.
While the display
property [
CSS Snapshot] can be used to control the visual rendering of EPUB Navigation Documents in Reading Systems with Viewports, not all Reading Systems provide such an interface.
Next time, I'll run through some of the most important
properties that you can define using
CSS, and after that, I'll finish up with a quick overview of style priorities.
CSS has three main parts, the selector, the
property and the value.