QWebView stylesheet
-
I want to apply custom stylesheet for QWebView for giving the background color . How to apply? Please help me
-
for example if you want to load it from qrc:
@
webViewWidget->settings()->setUserStyleSheetUrl( QUrl("qrc:/style.css") );
@ -
In css, how to give the background color to QWebView
-
something like this:
@
html, body
{
background-color: red;
}
@