View Single Post
Old 08-10-2019, 11:19 PM   #6
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by stumped View Post
Rather than over ride I remove the worst offenders.
That is the approach I take too, but I am selective in what I remove, I check each case to see what it is being used for before removing it.

E.g. I don't remove all line-height styles, I only remove the ones that affect the main body text. Sometimes a specific line-height is necessary and removing it would spoil the layout, such as a reduced or zero line height used to prevent a raise-cap from increasing the space between the first and second line of the opening paragraph.

Edit: Another example from the OP: text-align: left !important; will (on some ereaders) force all paragraphs to be left-aligned. Better to just remove the instances of text-align:justify; and leave text-align:center; and text-align:right; intact.

Last edited by GeoffR; 08-10-2019 at 11:26 PM. Reason: Another example
GeoffR is offline   Reply With Quote