View Single Post
Old 01-11-2013, 04:56 PM   #157
KeithJ108
Junior Member
KeithJ108 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2013
Device: Kindle Keyboard
Background color ignored?

Hi,

I created a user CSS template from some of the examples here but it seems that the background color is ignored by the Calibre eBook viewer. I can change the color in the eBook viewer preferences window but not through the CSS style-sheet.

Is this a bug or is there something wrong with my code?
Calibre version 0.9.14 on Windows 8 64-bit.

Code:
h1, h2, h3, h4, h5, h6 {
	font-weight: bolder;
	text-transform: capitalize;
	color: rgb(0, 0, 0);
	text-align:center;

}
body {
	color: rgb(0, 0, 0);
	background-color: rgb(254, 243, 213);
	text-align: justify;
	line-spacing: 1.8;
	margin-top: 0px;
	margin-bottom: 4px;
	margin-right: 50px;
	margin-left: 50px;
	text-indent: 3em;
}
KeithJ108 is offline   Reply With Quote