View Single Post
Old 03-02-2023, 09:23 PM   #8164
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 73
Karma: 76
Join Date: Apr 2019
Device: none
RoyalRoad Black Box with Black Text

I'm reading a story on RoyalRoad that has a lot of tables that it uses as system screens. The problem is that while they show as white text on a black background on the web site, they show as black text on a black background in the epub. Looking at the source code for the page, they set the background and border colors, but not the text color. I'm not sure what is changing the font color as I can't see anything in the code. Here is an example.

Code:
<div style="max-width: 100%; overflow:auto"><table style="background-color: rgba(0, 0, 0, 1); border-color: rgba(255, 255, 255, 1); width: 76.2458%" border="1">
<tbody>
<tr>
<td style="width: 100%">
<p style="text-align: center"><strong>Congratulations on your victory, the rewards will be presented to you now.</strong></p>
</td>
</tr>
</tbody>
</table></div>
I tried searching for a fix, but didn't have any luck. Is there an easy fix so the epub has the white text on a black background like the web site? Currently, I have to highlight the text in order to read it.

https://www.royalroad.com/fiction/33...3-trial-part-4

- Andrew
applegaa is online now   Reply With Quote