XML technologies / CSS / Advanced websites with CSS / CSS property reference / speak-numeral
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
Numbers can be spoken either as a sequence of digits (e.g. one, two, three) or as a whole number (e.g. one hundred and twenty-three). The property speak-numeral specifies which method aural browsers use to read numbers in an HTML element.
Inherited: yes
See also: speak, speak-header, speak-punctuation
Values
The property speak-numeral supports the following constants:
digits: Each digit of a number is read separately.continuous: The number is read as a whole
Default value: continuous
Compatibility
CSS version: 2
Not supported by any current visual browser.
Example
The following style rule makes an aural browser read each digit separately for all numbers in elements of the class binary:
.binary {
speak-numeral: digits;
}
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg