CentBrowser Forum
"Use custom background color for web pages" override web site author's stylesheet. - Printable Version

+- CentBrowser Forum (https://www.centbrowser.net/en)
+-- Forum: Product Related (https://www.centbrowser.net/en/forumdisplay.php?fid=1)
+--- Forum: Bugs & Suggestions (https://www.centbrowser.net/en/forumdisplay.php?fid=4)
+--- Thread: "Use custom background color for web pages" override web site author's stylesheet. (/showthread.php?tid=2715)



"Use custom background color for web pages" override web site author's stylesheet. - whileloop - 03-27-2019

I think the option "Use custom background color for web pages" should only override the user agent's default background color (white), but not override web site author's stylesheet.

If I really want to overwrite background color style of web pages, I can add style rule to "User Data/custom.css"
body {
    background-color: lightgray !important;
}


RE: "Use custom background color for web pages" override web site author's stylesheet. - Admini - 03-28-2019

It only overrides background color of <body> element.
If we don't do this, this option will have no effect for most websites.