Qt-interest Archive, March 2002
QTextBrowser not displaying anything!
Message 1 in thread
- Subject: QTextBrowser not displaying anything!
- From: Jeff Shipman <shippy@xxxxxxx>
- Date: Mon, 04 Mar 2002 21:50:47 -0700
- Organization: New Mexico Institute of Mining and Technology
- To: Qt Mailing List <qt-interest@xxxxxxxxxxxxx>
I've got a page that I'm trying to display
in a QTextBrowser, but it's not displaying
anything! All I get is a scrollbar.
The page looks fine in Netscape, Mozilla,
and IE. I'm not using anything weird,
but it does seem to work if I comment out:
<TABLE CELLPADDING=0 CELLSPACING=0>
but it's weird because the Qt documentation
uses syntax similar to this, but it doesn't
freak out when viewing that page in the
browser.
--
[ signature omitted ]
Message 2 in thread
- Subject: Re: QTextBrowser not displaying anything!
- From: Jeff Shipman <shippy@xxxxxxx>
- Date: Mon, 04 Mar 2002 22:09:40 -0700
- Organization: New Mexico Institute of Mining and Technology
- To: Qt Mailing List <qt-interest@xxxxxxxxxxxxx>
Jeff Shipman wrote:
> I've got a page that I'm trying to display
> in a QTextBrowser, but it's not displaying
> anything! All I get is a scrollbar.
> The page looks fine in Netscape, Mozilla,
> and IE. I'm not using anything weird,
> but it does seem to work if I comment out:
>
> <TABLE CELLPADDING=0 CELLSPACING=0>
>
> but it's weird because the Qt documentation
> uses syntax similar to this, but it doesn't
> freak out when viewing that page in the
> browser.
>
Ok, the problem is because I was assuming (there
I go again ;)) that a <TR> would be added, which
worked fine in those browsers, but not in the
QTextBrowser. Adding a <TR>...</TR> around my
entire table fixed the problem.
--
[ signature omitted ]