hi:
   I use WTextEdit   and table plugin, I save a text ("...   <table
border="1" align="center"> <tbody>                ... ") into postgresql
text field,
but when I use WText show it ,no OK.why In IE show table only middle
line ,no all line?
here is my code:

string sVal;
sVal  =  " ...   <table border="1" align="center">
<tbody>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
    ...";

mpBlogText=new WText(this);
mpBlogText->setId("AMemo");
mpBlogText->setInline(false);
mpBlogText->setTextFormat(XHTMLUnsafeText);
mpBlogText->setText(WString::fromUTF8(sVal));

In IE show table only middle line ,no all line . 
like this : see Attachments table.png


why?

<<attachment: table.png>>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to