bell notificationshomepageloginedit profileclubsdmBox

10.01% popularity   0 Reactions

I'm having a really hard time changing the background color of my epub on the Nook HD.

I've tried doing:

body {
background-color: red;
}

(Not that I would actually use red, I just want to see a difference.)

Nothing.

I've tried putting a div around the whole thing, and doing something like:
#myDiv {
width: 100%;
height: 100%;
background-color: red;
}

And, that almost works, but it doesn't expand the whole way. There is still white areas at the top and bottom that just stay a white background. Also, once a page ends, it only covers up until there's no text.

I've tried a bunch of other things too, but I just can't seem to figure it out.

Anyone have any ideas?

(And, yes, publisher's defaults is on.)


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (1)

Login to follow story

More posts by @Shakeerah

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rita

10% popularity   0 Reactions

well this looks like a html/css question the height percentage in the css also needs that its parent has height as well

so you can try this.

html, body {
height:100%;
}

and use your #myDiv coloring.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

Back to top