View Single Post
Old 03-11-2018, 05:41 AM   #16
Entry20
O
Entry20 began at the beginning.
 
Entry20's Avatar
 
Posts: 17
Karma: 10
Join Date: Mar 2018
Device: Kindle Paperwhite - 7th Generation
Lightbulb

Quote:
Originally Posted by kovidgoyal View Post
And I dont know where you get the idea that backgrounds for all HTML pages are white. As per the actual HTML spec the background color defaults to transparent not white.

https://developer.mozilla.org/en-US/...ckground-color

See the initial value on that page.
I wanted to say that by default, all pages have a white background (on google chrome for e.g.). Even if I have a pink/neon green windows theme (like the images I've posted above), it will still display a white background for every web page (if that page doesn't have a background-color / background: OTHER COLOR style applied).

I don't say that you need to define a css background color for the editor.

I wanted to suggest that the default background of the File preview should be white. No need to add css code. Just apply it with the software code you used to create Calibre.

Let me ask you, what's the default colors of a kindle ebook page or a web html page? (That's right black text + white background). This should be the same for Calibre File Preview in my opinion.

I hope it makes sense now.
Entry20 is offline   Reply With Quote