Quote:
Originally Posted by Hitch
As jhowell said, it's supposed to be what it sounds like--the initial, or default, coding for an element, prior to any changes via coding. It's for pretty much anything, not just alignment, AFAIK.
What's bizarre, though, @jhowell, is, isn't initial supposed to be overridable? Designed to be? Not act as the override itself? Or am I wrong about that?
|
In the
CSS specification for text-align "initial" is defined as:
a nameless value that acts as 'left' if 'direction' is 'ltr', 'right' if 'direction' is 'rtl'
So for left-to-right text a CSS property declaration of "text-align: initial" is equivalent to "text-align: left". There is nothing in the specification about it being treated differently in terms of being overridable.
For books in KFX format (Enhanced Typesetting), Amazon allows the user to override the alignment of justified text to be left-aligned instead. That is independent of the CSS used AFAIK.