View Single Post
Old 12-31-2009, 02:48 PM   #90
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by kovidgoyal View Post
In general, with HTML it's very hard to allow the user to override things over a whole document, as almost everything can be set at the level of individual blocks and those setting take precedence.
This is very true (although, I'd say this is CSS problem in general - it is not much easier with DTBook, for instance) and I see a lot of friction there as devices start to utilize user stylesheets more. Note that doing blind overrides (e.g. overriding justify or font on p element) is not very good solution because some parts of the book may require particular style: for instance, poetry and code samples should be left-justified and math formulas typically require a specific font. What is needed is a guide on how to author documents so that user stylesheets can selectively override only things which are meant to be overridable.
Peter Sorotokin is offline   Reply With Quote