![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2018
Device: epub
|
How to css change background color of an epub?
Hi,
In the stylesheet.css, I put html, body{ background-color: rgb(230, 230, 230); } But the surrounding has still some white color, how to change it? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot. The surroundings are page amrgins and they are not under the control of the epub. SOme epub renderers will render them the same color as the current html background color, some will render them using a fixed color, etc.
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
background, css, ebook, epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Css for Calibre viewer background-color | Cjammi | Calibre | 5 | 03-10-2017 12:09 PM |
change background color? | suniram | Calibre | 8 | 05-26-2016 01:17 PM |
background color/image no margins css? | jmd87 | ePub | 6 | 06-30-2014 05:35 AM |
Change Link2SD background color | giosa | Sony Reader Dev Corner | 0 | 03-01-2012 06:33 PM |
Any epub reader for PC allows me to change text and background color? | ttluisa | General Discussions | 5 | 05-11-2010 11:04 PM |