<%@ page language="C#" autoeventwireup="true" inherits="admin_common_Table, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>插入表格</title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/Color.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> 表格属性
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="border" cellspacing="1" cellpadding="0" border="0" align="center">
        <tr>
            <td class="bqleft">
                行数：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtRow" runat="server" CssClass="in1" Rows="30" Text="1" 
                    Columns="10"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                列数：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtCol" runat="server" Columns="10" CssClass="in1">1</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                表格宽度：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtWidth" runat="server" Columns="10" CssClass="in1">200</asp:TextBox><asp:DropDownList ID="dropWidth" runat="server">
                    <asp:ListItem Value="px">像素</asp:ListItem>
                    <asp:ListItem>%</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            
            <td class="bqleft">
                表格高度：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtHeight" runat="server" Columns="10" CssClass="in1"></asp:TextBox><asp:DropDownList ID="dropHeight" runat="server">
                    <asp:ListItem Value="px">像素</asp:ListItem>
                    <asp:ListItem>%</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            
            <td class="bqleft">
                背景颜色：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtbgColor" runat="server" Columns="10" CssClass="in1" onclick="rcolor(this,true)"></asp:TextBox>
            </td>
        </tr>
        <tr>        
            <td class="bqleft">
                边框颜色：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtBorderColor" runat="server" Columns="10" CssClass="in1" onclick="rcolor(this,true)"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                单元格边距：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtcellpadding" runat="server" Columns="10" CssClass="in1" 
                    Width="68px">0</asp:TextBox>
            </td>
        </tr>
        <tr>
        
            <td class="bqleft">
                单元格间距：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtcellspacing" runat="server" Columns="10" CssClass="in1">0</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                对齐方式：
            </td>
            <td class="bqright">
                <asp:DropDownList ID="dropalign" runat="server">
                    <asp:ListItem Value="0">默认</asp:ListItem>
                    <asp:ListItem Value="left">左对齐</asp:ListItem>
                    <asp:ListItem Value="center">居中对齐</asp:ListItem>
                    <asp:ListItem Value="right">右对齐</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
        
            <td class="bqleft">
                边框粗细：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtBorder" runat="server" Columns="10" CssClass="in1">0</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                使用class：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtCss" runat="server" Columns="10" CssClass="in1"></asp:TextBox> 样式名称：如：Head
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                使用style：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtStyle" runat="server" Columns="30" CssClass="in1"></asp:TextBox> 样式代码，如：width:220px
            </td>
        </tr>
        <tr>
        
            <td class="bqleft">
                背景图像：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtbackground" runat="server" CssClass="in1" Columns="40"></asp:TextBox><input id="Button2" type="button" value=" 上传图片 " class="btn" /></td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="50">
                <asp:Button ID="Button1" runat="server" Text=" 提交 " CssClass="btn radius30 pad_0_30" 
                    onclick="Button1_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                <input id="Button3" type="button" value=" 取消 " class="btn radius30 pad_0_30" onclick="window.close();" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
