Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
4.4.1
-
None
Description
#include <QtGui>
int main(int argc, char **argv)
{
QApplication a(argc, argv);
QTextBrowser w;
w.setText(
"<html><head><STYLE type=\"text/css\"></STYLE></head>"
"<body>"
"<p style=\"text-align:center; color: rgb(0, 0, 255)\">Autodesk</p>"
"<p align=\"center\">Autodesk</p>"
"<p><center>Autodesk</center></p>"
"</body>"
"</html>");
w.show();
return a.exec();
}
Note: text-align is not a currently supported CSS property.