⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table.htm

📁 荒野asp.net新闻系统
💻 HTM
字号:
<HTML>
	<HEAD>
		<BASE target="_self">
		<TITLE>插入表格</TITLE>
		<STYLE>
			body { background: menu; }
			td,body,select,div,span,button { font-size: 9pt; font-family: Arial; }
			BUTTON {width: 5em; border-width: 1pt; }
			input { border: 1pt solid black; font-size: 9pt; padding: 1pt 3pt;}
			a:link { color: #0000BB }
			a:visited { color: #0000BB }
		</STYLE>
		<SCRIPT language="javascript" type="text/javascript">
			function returnTable() {
				var arr = new Array();
				arr['width'] = document.getElementById('f_width').value;
				if (arr['width'] > 100) {
					arr['width'] = 100;
				}
				arr['width'] += '%'
				arr['cellpadding'] = document.getElementById('f_spacing').value;
				arr['cellspacing'] = document.getElementById('f_padding').value;
				arr['align'] = document.getElementById('f_align').value;
				arr['border'] = document.getElementById('f_border').value;
				arr['cols'] = document.getElementById('f_cols').value;
				arr['rows'] = document.getElementById('f_rows').value;
				window.returnValue = arr;
			}
		</SCRIPT>
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<META content="text/html; charset=gb2312" http-equiv="Content-Type">
		<META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<BODY bgcolor="menu" topmargin="5" leftmargin="5">
	<FORM id="InsertForm">
		<TABLE cellpadding="3" cellspacing="0" align="center" border="0">
			<TR>
				<TD align="center">
					<FIELDSET>
						<LEGEND>插入表格</LEGEND>
						<TABLE>
							<TR>
								<TD>行数:<input type="text" name="rows" id="f_rows" size="5" title="设置行数" value="2" /></TD>
								<TD>列数:<input type="text" name="cols" id="f_cols" size="5" title="设置列数" value="2" /></TD>
							</TR>
							<TR>
								<TD>宽度:<input type="text" name="width" id="f_width" size="5" title="表格宽度" value="100" />(%)</TD>
								<TD>边框:<input type="text" name="border" id="f_border" size="5" value="1" title="边框设置" /></TD>
							</TR>
							<TR>
								<TD colspan="2">对齐方式:
									<select size="1" name="align" id="f_align" title='选择对齐方式'>
										<option value="" selected>未设置</option>
										<option value="left">居左</option>
										<option value="center">居中</option>
										<option value="right">居右</option>
										<option value="texttop">文本顶部</option>
										<option value="absmiddle">绝对中间</option>
										<option value="baseline">基线</option>
										<option value="absbottom">绝对底部</option>
										<option value="bottom">底部</option>
										<option value="middle">中间</option>
										<option value="top">顶部</option>
									</select>
								</TD>
							</TR>
							<TR>
								<TD>单元格间距:<input type="text" name="spacing" id="f_spacing" size="5" value="1" title="单元格之间距离" /></TD>
								<TD>单元格边距:<input type="text" name="padding" id="f_padding" size="5" value="1" title="单元格内容边距" /></TD>
							</TR>
						</TABLE>
					</FIELDSET>
				</TD>
			</TR>
			<TR>
				<TD align="right"><INPUT type="button" onClick="returnTable();window.close()" value="确认" />&nbsp;&nbsp;<INPUT type="button" onClick="window.close()" value="取消" /></TD>
			</TR>
		</TABLE>
	</FORM>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -