Hi,
Here is some code and pictures. The html rendered is standard. I change the background of webview of N97 to black so that it shows clearly that text is in white which i tried to change by using the style tag in html. The text shown in the textbox of the form is always in white while it is not the case with the radio and checkbox text.
Code:
webView = new QWebView(this);
connect(webView, SIGNAL(loadFinished(bool)), this, SLOT(load_done(bool)));
webView->setPalette(Qt::white);
webView->setAutoFillBackground(true);
webView->setAttribute(Qt::WA_InputMethodEnabled,false);
webView->load(QUrl(test.html));
mainLayout = new QStackedLayout;
mainLayout->addWidget(webView);
setLayout(mainLayout);
void WebWidget::load_done(bool ok){
if(ok)
webView->showMaximized();
mainLayout->setCurrentIndex(0);
}


Regards,
Zhengtao