?? ftb.inserttable.aspx
字號(hào):
<%@ Page language="c#" %>
<script runat="server">
private void Page_Load(object sender, System.EventArgs e) {
}
</script>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<META HTTP-EQUIV="Expires" CONTENT="0">
<title>插入表格</title>
<style>
body {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background: #ffffff;
width: 100%;
overflow:hidden;
border: 0;
}
body,tr,td {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
}
</style>
<script language="javascript">
function returnTable() {
var arr = new Array();
arr["width"] = document.getElementById('Width').value;
arr["height"] = document.getElementById('Height').value;
arr["cellpadding"] = document.getElementById('Cellpadding').value;
arr["cellspacing"] = document.getElementById('Cellspacing').value;
arr["border"] = document.getElementById('Border').value;
arr["cols"] = document.getElementById('Columns').value;
arr["rows"] = document.getElementById('Rows').value;
arr["valigncells"] = document.getElementById('VAlignCells')[document.getElementById('VAlignCells').selectedIndex].value;
arr["haligncells"] = document.getElementById('HAlignCells')[document.getElementById('HAlignCells').selectedIndex].value;
arr["percentcols"] = document.getElementById('PercentCols').checked;
window.returnValue = arr;
window.close();
}
</script>
</HEAD>
<body>
<table width=100% cellpadding=1 cellspacing=3 border=0>
<tr><td valign=top>
<fieldset ><legend>表格</legend>
<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>寬度</td>
<td><input type=text id="Width" name="Width" value=100 style="width:50px;"></td>
</tr><tr>
<td>高度</td>
<td><input type=text id="Height" name="Height" value=100 style="width:50px;"></td>
</tr><tr>
<td>單元格邊距</td>
<td><input type=text id="Cellpadding" name="Cellpadding" style="width:50px;" value=0></td>
</tr><tr>
<td>單元格間距</td>
<td><input type=text id="Cellspacing" name="Cellspacing" style="width:50px;" value=0></td>
</tr><tr>
<td>邊框粗細(xì)</td>
<td><input type=text id="Border" name="Border" style="width:50px;" value=1></td>
</tr>
</table>
</fieldset>
</td>
<td> </td>
<td valign=top>
<fieldset ><legend>單元格</legend>
<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>列數(shù)</td>
<td><input type=text id="Columns" name="Columns" style="width:80px;" value=2></td>
</tr><tr>
<td>行數(shù)</td>
<td><input type=text id="Rows" name="Rows" style="width:80px;" value=2></td>
</tr><tr>
<td>垂直對(duì)齊方式</td>
<td><select id="VAlignCells" name="VAlignCells" style="width:80px;">
<option>默認(rèn)</option>
<option value="top">頂端對(duì)齊</option>
<option value="center">相對(duì)垂直居中</option>
<option value="bottom">相對(duì)底邊對(duì)齊</option>
</select>
</td>
</tr><tr>
<td>水平對(duì)齊方式</td>
<td><select id="HAlignCells" name="HAlignCells" style="width:80px;">
<option>默認(rèn)</option>
<option value="left">左對(duì)齊</option>
<option value="center">居中</option>
<option value="right">右對(duì)齊</option>
</select>
</td>
</tr><tr>
<td>平均分配各列</td>
<td><input type="checkbox" id="PercentCols" name="PercentCols" value="1"></td>
</tr>
</table>
</fieldset>
</td></tr>
<tr><td colspan=3 align=center>
<input type="button" onclick="returnTable();return false;" value="插入表格">
</td></tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -