[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: HTML5 style attributes override CSS
I’m getting other spurious ‘style’ attributes with hardcoded styles using 1.77.1 HTML5/EPUB 3. (My previous question about width and height on img has been fixed.) These attributes should probably be removed, because I can’t override them with CSS styles. (The HTML5 specs don’t state that my specific examples are deprecated/obsolete.) The elements are being generated with classes, which is sufficient for CSS, but the additional ‘style’ attribute seems to effectively kill that functionality. I’m aware that a lot of this is probably generated by templates in html5-element-mods.xsl. Can these style templates please be revised? Width (and height) on external SVG: <div
class="mediaobject"><object Bullet symbol on itemizedlist (and similarly for numeration in orderedlist): <div
class="itemizedlist" epub:type="list"><ul class="itemizedlist compact" Horizontal alignment for img (and in the
wrapping div): <div style="text-align:
center;
" class="mediaobject"><img --
Dave Gardiner |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]