зеркало из https://github.com/mozilla/gecko-dev.git
55 строки
1.4 KiB
HTML
55 строки
1.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" >
|
|
<html>
|
|
<head>
|
|
<!-- test case: tables_cellpadding.html
|
|
description: HTML Text Markup Element, TABLE CELLPADDING -->
|
|
<!-- Author: Chris Petersen Date: 8/6/98 -->
|
|
<!-- CONFIDENTIAL AND PROPRIETARY TEST SCRIPT OF NETSCAPE COMMUNICATIONS CORPORATION
|
|
Copyright © 1998 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 TABLE tag.-->
|
|
<!-- Expected result: A table should be displayed in the window -->
|
|
<title>Web Browser Web View (HTML): Document TABLE CELLPADDING</title>
|
|
</head>
|
|
<body>
|
|
CELLPADDING controls the padding in pixels between the border of each cells and the cell's
|
|
contents.The first table has a cellpadding of 8 pixels. The second table is not using cell
|
|
padding. Notice the difference. There should be a larger gap between the cell border and it's
|
|
contents in the first table.
|
|
<br>
|
|
<br>
|
|
<table cellpadding=8 border=2>
|
|
<tr>
|
|
<td>Navigator</td>
|
|
<td>Messenger</td>
|
|
<td>Collabra</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Composer</td>
|
|
<td>Calendar</td>
|
|
<td>Netcaster</td>
|
|
</tr>
|
|
</table>
|
|
<br><br>
|
|
This table contains no cellpadding.
|
|
<table border=2>
|
|
<tr>
|
|
<td>Navigator</td>
|
|
<td>Messenger</td>
|
|
<td>Collabra</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Composer</td>
|
|
<td>Calendar</td>
|
|
<td>Netcaster</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|