Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2002
QTextBrowser not displaying anything!


Message 1 in thread

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

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 ]