Getting a simple border in wxHTML tables

Milan Babuskov milanb at panonnet.net
Sat Mar 3 04:48:41 PST 2007


Hi,

I'm using wxHTML and trying to get it to display a regular HTML table 
without 3D border.

In regular browsers I use something like this:

<TABLE BGCOLOR=black CELLSPACING=1 BORDER=0>
    <TR BGCOLOR=white>
       <TD>...etc.
    </TR>
</TABLE>

Example:
http://javagames.sourceforge.net/table.html


BORDER=0 assures that 3D border is not shown, and CELLSPACING=1 makes 
one pixel space between cells. Since table itself has BGCOLOR=black it 
shows the table's bgcolor in those empty spaces.

However, wxHTML doesn't seem to do this, but rather uses background 
color of the page.

Anyway, I don't mind doing it differently, I'd just like to know is it 
possible to do it anyhow. How to create simple 1-pixel table border with 
wxHTML?

TIA

-- 
Milan Babuskov
http://www.guacosoft.com
http://www.flamerobin.org





More information about the wx-users mailing list