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

📄 css_table.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>CSS Table Properties</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

<h1>CSS Table</h1>
<a href="css_list.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
 <a href="css_dimension.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />

<p class="intro">The CSS table properties allow you to set the layout of a 
table.</p>
<hr />

<h2>Examples</h2>

<p><a target="_blank" href="tryit.asp@filename=trycss_table_table-layout">Set the layout of a table</a><br />
This example demonstrates how to set the layout of a table.</p>
<p><a target="_blank" href="tryit.asp@filename=trycss_table_empty-cells">Show empty cells in a table</a><br />
This example demonstrates whether or not to show empty cells in a table.</p>
<p><a target="_blank" href="tryit.asp@filename=trycss_table_border-collapse">Collapse a table border</a><br />
This example demonstrates whether the table borders are collapsed into a single 
	border or detached as in standard HTML.</p>
<p><a target="_blank" href="tryit.asp@filename=trycss_table_border-spacing">Set the space between table borders</a><br />
This example demonstrates how to set the distance between cell borders.</p>
<p><a target="_blank" href="tryit.asp@filename=trycss_table_caption-side">Set the position of the table caption</a><br />
This example demonstrates how to position the table caption.</p>
<hr />

<h2>CSS Table Properties</h2>

<p>
The CSS table properties allow you to set the layout of a table.</p>
<p>
<b>Browser support:</b> IE: Internet Explorer, M: Mac IE only, F: Firefox, N: Netscape.</p>
<p>
<b>W3C:</b> The number in the &quot;W3C&quot; column indicates in which CSS recommendation 
the property is defined (CSS1 or CSS2).</p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3" id="table1">
  <tr>
    <th width="25%" align="left">Property</th>
    <th width="30%" align="left">Description</th>
    <th width="25%" align="left">Values</th>
    <th width="5%" align="left">IE</th>
    <th width="4%" align="left">F</th>
    <th width="4%" align="left">N</th>
    <th width="7%" align="left">W3C</th>
  </tr>
  <tr>
    <td valign="top"><a href="pr_tab_border-collapse.asp">border-collapse</a></td>
    <td valign="top">Sets whether the table borders are collapsed into a single 
	border or detached as in standard HTML</td>
    <td valign="top">collapse<br />
      separate</td>
    <td valign="top">5</td>
    <td valign="top">1</td>
    <td valign="top">7</td>
    <td valign="top">2</td>
  </tr>
  <tr>
    <td valign="top"><a href="pr_tab_border-spacing.asp">border-spacing</a></td>
    <td valign="top">Sets the distance that separates cell borders
      (only for the &quot;separated borders&quot; model)</td>
    <td valign="top"><i>length length</i></td>
    <td valign="top">5M</td>
    <td valign="top">1</td>
    <td valign="top">6</td>
    <td valign="top">2</td>
  </tr>
  <tr>
    <td valign="top"><a href="pr_tab_caption-side.asp">caption-side</a></td>
    <td valign="top">
      Sets the position of the table caption</td>
    <td valign="top">top<br />
      bottom<br />
      left<br />
      right</td>
    <td valign="top">5M</td>
    <td valign="top"> 1</td>
    <td valign="top">6</td>
    <td valign="top"> 2</td>
  </tr>
  <tr>
    <td valign="top"><a href="pr_tab_empty-cells.asp">empty-cells</a></td>
    <td valign="top">
      Sets whether or not to show empty cells in a table (only
      for the "separated borders" model)&nbsp;</td>
    <td valign="top">show<br />
      hide</td>
    <td valign="top">5M</td>
    <td valign="top"> 1</td>
    <td valign="top">6</td>
    <td valign="top"> 2</td>
  </tr>
  <tr>
    <td valign="top"><a href="pr_tab_table-layout.asp">table-layout</a></td>
    <td valign="top">
      Sets the algorithm used to display the table cells, rows, and columns</td>
    <td valign="top">auto<br />
      fixed</td>
    <td valign="top">5</td>
    <td valign="top"> 1</td>
    <td valign="top">6</td>
    <td valign="top"> 2</td>
  </tr>
</table>
<br />
<hr />
<a href="css_list.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
 <a href="css_dimension.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

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