我是这样写的
<OBJECT  CLASSID="CLSID:xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx" ID="xxx" HEIGHT="100%" WIDTH="100%"></OBJECT>为什么生成的控件比IE的DOCUMENT区域小一圈呢? 请指教

解决方案 »

  1.   

    <BODY LEFTMARGIN=0  RIGHTMARGIN=0  TOPMARGIN=0  BOTTOMMARGIN=0 >
      

  2.   

    <table style="width:100%;height:100%">
    <tr>
    <td>
    <OBJECT style="width:100%;height:100%" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=468 HEIGHT=95> <PARAM NAME=movie VALUE=http://ad4.sina.com.cn/sina/sms/binfen46895.swf> <PARAM NAME=quality VALUE=high> <EMBED src=http://ad4.sina.com.cn/sina/sms/binfen46895.swf quality=high WIDTH=46895 HEIGHT=95 TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED></OBJECT>
    </td>
    </tr>
    </table>
      

  3.   

    <body leftmargin=0 topmargin=0>
    <table style="width:100%;height:100%">
    <tr>
    <td>
    <OBJECT style="width:100%;height:100%" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=468 HEIGHT=95> <PARAM NAME=movie VALUE=http://ad4.sina.com.cn/sina/sms/binfen46895.swf> <PARAM NAME=quality VALUE=high> <EMBED src=http://ad4.sina.com.cn/sina/sms/binfen46895.swf quality=high WIDTH=46895 HEIGHT=95 TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED></OBJECT>
    </td>
    </tr>
    </table>
    </body>
      

  4.   

    HRESULT IHTMLBodyElement::put_leftMargin(VARIANT v);
    HRESULT IHTMLBodyElement::put_topMargin(VARIANT v);