When you use the web publishing tool to create the html it uses the current window size of the VI to create the correct width/height dimensions for the LabVIEW object in the html code. Following is an extract from an example html file created using the web publishing tool:
<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AB" WIDTH=588 HEIGHT=475 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/7.0/LVRunTimeEng.exe"> <PARAM name="LVFPPVINAME" value="Change VI bounds.vi"> <PARAM name="REQCTRL" value=false> <EMBED SRC=".LV_FrontPanelProtocol.rpvi7" LVFPPVINAME="Change VI bounds.vi" REQCTRL=false TYPE="application/x-labviewrpvi7" WIDTH=588 HEIGHT=475 PLUGINSPAGE="http://www.ni.com/webappdemos/lv"></EMBED> </OBJECT> Hope that helps.
