View Single Post
Old 08-11-2021, 05:51 PM   #6
Simons Mith
Member
Simons Mith began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: none
Well, I have, for example, text in inset boxes, and overlapping the edge of the inset box, a drop cap with a decorative border div around it. See attachment. The decorative box must have the same background colour as the body text so that a) the lines behind it do not show through and b) ideally, the drop cap box is the same colour as the document 'paper'. The border-bottom on the span (which is used in a form) has the same purpose

That is the point of specifying the colour. I'd like to act in a way that respects user preferences as far as possible, but I'm also emulating the layout of an A4-ish print book that uses this style of inset box and drop caps widely.

The book also has megabytes of colour images and is primarily expected to be viewed on tablets, and desktop PCs and Macs running Calibre, Atril document viewer, things like that, so a splash of colour is a legitimate thing to put in.

But I'm not even trying to get /colour/ here, I'm just trying to match the user's choice of document paper! If I can do it gracefully, that is.
Attached Thumbnails
Click image for larger version

Name:	drop cap div.png
Views:	212
Size:	9.0 KB
ID:	188640  

Last edited by Simons Mith; 08-11-2021 at 05:54 PM.
Simons Mith is offline   Reply With Quote