html window not working properly

This is unrelated to wxPython, of course, but your use of tags here is not correct. If you're using styles, you should never use the <font> tag or the <b> tag. In your case, the styles are something you want to apply to the table cell, so you should say:

    <td width=250 valign=middle style="font: bold 8pt tahoma; color: black; text-align: center">
    Capability Report %s:%s
    </td>

The idea is that the HTML tags identify the parts of the content, and the styles give the rendering of those parts. Even better would be to put the styles into a style section and use classes:

  td.header1 {
    font: bold 8pt tahoma;
    color: black;
    text-align: center;
    vertical-align: middle
  }
  ...
  <td width=250 class='header1'>Capability Report %s:%s</td>

Unfortunately, however, none of this works with the wx HTML window. It doesn't do styles. In that case, you'd have to use <font> and <b>, but without using style. The proper use of the <font> tag is:

    <font face='Tahoma' size='8pt'>
    <b>capability Report %s:%s</b>
    </font>

···

On Thu, 1 Sep 2005 14:39:44 -0700 (PDT), Jeff Peery <jeffpeery@yahoo.com> wrote:

Hello, I'm using an html window to load and disply some basic text. the problem is that the font size doesn't seem to change when I change the file. I loaded it up with internet explorer and everything seems to look and change as I expect. in the below code I have been just changing the font from the 8pt to anything else and it doesn't change when I load up my program. Every other change that I make seems to work as expected.

here is a piece of html from the file that I am loading into the html window:
<head>
   <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
   <title>Title goes here</title>
   </head>
      <body bgcolor="white">
      <table width="250" cellpadding="3" cellspacing="5">
   <tr>
   <td align="center" valign="middle" width="250">
   <font style="COLOR: black; FONT: 8pt tahoma">
   <b>Capability Report %s:%s</b>
   </font>
   </td>
   </tr>
   </table>

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.