Mozilla/mozilla/layout/html/tests/table/marvin/tables_width_percent.html
karnaze%netscape.com 40c7757fb4 table regression tests
git-svn-id: svn://10.0.0.236/trunk@26311 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:56:05 +00:00

51 lines
1.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" >
<html>
<head>
<!-- testcase: tables_width_percent.html
description: HTML Text Markup Element, TABLE WIDTH PERCENT-->
<!-- 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 with width set by pixel value-->
<title>Web Browser Web View (HTML): TABLE WIDTH PERCENT</title>
</head>
<body>
This test case shows how WIDTH can set the width of the table to a fixed size using PERCENT. PERCENT
is based on the percentage of the space between the current left and right margins.
This first table has a width of 80 percent
<table width="80%">
<tr>
<td>Navigator</td>
<td>Messenger</td>
<td>Collabra</td>
</tr>
<tr>
<td>Composer</td>
<td>Calendar</td>
<td>Netcaster</td>
</tr>
</table>
<br>
While, this second table has a width of 50 percent
<table width="50%">
<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>