<body leftMargin="0" topMargin="0" onload="ScrollTable('grdUseright',320,1)" MS_POSITIONING="GridLayout">

解决方案 »

  1.   

    晕,以为是winform的呐,谢谢!
      

  2.   

    用table吧。
     <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td><img src="images/coopt.gif" width="600" height="24"></td>
        </tr>
        <tr> 
          <td bgcolor="4C58B4">
    <table width="580" border="1" cellpadding="0" cellspacing="0"  borderColorLight="#3677b1"  bgcolor="4C58B4">
              <tr> 
                <td width="250"><div align="center"><font color="#FFFFFF" class="style4">单位名称</font></div></td>
                <td width="250"><div align="center"><font color="#FFFFFF" class="style4">地址</font></div></td>
                <td width="80"><div align="center"><font color="#FFFFFF" class="style4">联系人</font></div></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td> <DIV class="div" style="WIDTH: 99.99%; POSITION: relative; HEIGHT: 100px" ms_positioning="GridLayout"> 
              <ASP:DataGrid id="MyDataGrid"  runat="server"
       BorderColor="#eeeeee"
       BorderWidth="1"
       GridLines="Both"
       CellPadding="3"
       CellSpacing="0"
       Font-Name="Verdana"
       Font-Size="9pt"
       HeaderStyle-BackColor="#aaaadd"
        AlternatingItemStyle-BackColor="#eeeeee"
       AutoGenerateColumns="false"
       ShowHeader="False"

                <Columns>
                <asp:HyperLinkColumn
    HeaderText="单位名称"
    DataNavigateUrlField="Com_Name"
    DataNavigateUrlFormatString="coopshow.aspx?Com_Name={0}"
    DataTextField="Com_Name"
    Target="content"
      > 
                  <itemstyle width="250px" horizontalalign="left"/> </asp:HyperLinkColumn>
                <asp:BoundColumn HeaderText="地址" DataField="Addr" HeaderStyle-Width="120px" HeaderStyle-VerticalAlign="0"> 
                  <itemstyle width="250px" horizontalalign="left"/> </asp:BoundColumn>
                <asp:BoundColumn HeaderText="联系人" DataField="Cont_Person" HeaderStyle-Width="100px"> 
                  <itemstyle width="80px" horizontalalign="left"/> </asp:BoundColumn>
                </Columns>
              </asp:DataGrid>
            </Div></td>
      

  3.   

    以上是我用javascript寫的一個function 拿出來與大家分享的,并不是要答案,
    不過你也可貼上你的解決方式