|08-18-2011, 11:37 AM||#1|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
I was having a look at how alternate stylesheets are specified and implemented in HTML, and wondered if any ePUB reader supports them in any way (by which I mean their providing a way for the user to choose between the alternate stylesheets).
The current (2.0.1) spec only says that reading systems must support <link> elements with "rel" values "stylesheet" and "alternate stylesheet". The future version 3 adds the possibility of tagging the stylesheets with the "class" attribute.
Has anyone tried anything about this? Do ePUB readers at least use only persistent and preferred stylesheets? Or do they treat all stylesheets the same and apply all at once, alternate or not?
|08-19-2011, 07:44 PM||#2|
Join Date: Sep 2009
"User agents should allow users to select from alternate style sheets."
As we all know, "should" means, "You don't actually need to bother with this."
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Custom CSS Stylesheets for Calibre's Viewer||Ralob||Library Management||182||11-17-2013 06:06 AM|
|ade extra stylesheets & page layouts||cybmole||Sigil||12||06-27-2012 08:04 PM|
|eReader apps that do use embedded CSS 'stylesheets'||jttraverse||Android Devices||7||05-20-2011 01:28 AM|
|Why won't PRS-350 honor all ePub stylesheets?||PatNY||Sony Reader||2||11-07-2010 06:42 PM|
|User stylesheets for ePub files||salty-horse||Sony Reader Dev Corner||12||02-23-2010 08:44 AM|