|08-18-2011, 10:37 AM||#1|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
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, 06: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||210||07-06-2016 02:22 AM|
|ade extra stylesheets & page layouts||cybmole||Sigil||12||06-27-2012 07:04 PM|
|eReader apps that do use embedded CSS 'stylesheets'||jttraverse||Android Devices||7||05-20-2011 12:28 AM|
|Why won't PRS-350 honor all ePub stylesheets?||PatNY||Sony Reader||2||11-07-2010 05:42 PM|
|User stylesheets for ePub files||salty-horse||Sony Reader Dev Corner||12||02-23-2010 07:44 AM|