gecko-dev/layout/html/tests/table/marvin/tables_cellspacing_pct.html

54 строки
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- test case: tables_cellspacing_pct.html -->
<!-- description: HTML 4.0 TABLE element/CELLSPACING attribute -->
<!-- Author: Christine Dreckman Date: 1/11/98 -->
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
Copyright © 1999 Netscape Communications Corporation. All Rights Reserved. Use of this Test Script is
subject to the terms of the applicable license agreement from Netscape Communications Corporation -->
<!-- Purpose: To test the CELLSPACING attribute of the TABLE element tag-->
<!-- Expected result: A table with a 20% cellspacing value should be displayed -->
<title>tables_cellpadding_pct</title>
</head>
<body>
<p>CELLSPACING specifies the amount space between cells. The first table has a cellspacing value of 20%; the second table does not have cellspacing.</p>
<table border=1 cellspacing=20%>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
</table>
<br><br>
<table border=1>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
</table>
</body>
</html>