I don't want to enforce my colour choices on the reader, but I do have a couple of element colours in my document which need to match the body background colour. The easy way to do that was to set the CSS for the body style, then I could simply set those elements to match. That took the least braining.
But now, what would be the most graceful way to set the border-bottom of a span, previously implemented as
span.right {
border-bottom: 1mm solid #EEEEEE;
float: right; }
to match the user-chosen body-background colour?
[If this query is no longer on-topic for the Calibre Viewer sub-forum I'd be grateful if it was moved. Thanks. ]
|