This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
ideas:content-formatting [2008/01/14 13:54] – Added one example itpastorn | ideas:content-formatting [2008/01/14 13:59] – Fuller example itpastorn | ||
---|---|---|---|
Line 57: | Line 57: | ||
**number-format** | **number-format** | ||
+ | |||
Line 70: | Line 71: | ||
grouping-separator: | grouping-separator: | ||
decimal-separator : "," | decimal-separator : "," | ||
+ | } | ||
+ | @decimal-format creditcard { | ||
+ | grouping-separator: | ||
} | } | ||
@media all { | @media all { | ||
Line 86: | Line 90: | ||
td.sweprice { | td.sweprice { | ||
number-format: | number-format: | ||
+ | } | ||
+ | .creditcard { | ||
+ | number-format: | ||
} | } | ||
td.sweprice:: | td.sweprice:: | ||
Line 95: | Line 102: | ||
Grouping both unnecessary and unwanted, words like | Grouping both unnecessary and unwanted, words like | ||
" | " | ||
+ | Those words should only be spelled out by a screen reader when | ||
+ | | ||
*/ | */ | ||
td.price { | td.price { | ||
Line 107: | Line 116: | ||
td.sweprice:: | td.sweprice:: | ||
content: " Swedish crowns"; | content: " Swedish crowns"; | ||
+ | } | ||
+ | .creditcard { | ||
+ | /* Speak numbers in pairs, no nead to hear the word " | ||
+ | number-format: | ||
} | } | ||
} | } |