зеркало из https://github.com/mozilla/gecko-dev.git
54 строки
1.3 KiB
HTML
54 строки
1.3 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<!-- test case: tables_cellpadding_pct.html -->
|
|||
|
<!-- description: HTML 4.0 TABLE element/CELLPADDING attribute -->
|
|||
|
<!-- Author: Christine Dreckman Date: 1/11/98 -->
|
|||
|
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
|
|||
|
Copyright <20> 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 CELLPADDING attribute of the TABLE element tag-->
|
|||
|
<!-- Expected result: A table with a 20% cellpadding value should be displayed -->
|
|||
|
<title>tables_cellpadding_pct</title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<p>CELLPADDING specifies the amount of space between the border of the cell and its contents. The first table has a cellpadding value of 20%; the second table does not have cellpadding.</p>
|
|||
|
<table border=1 cellpadding=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>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|