gecko-dev/layout/html/tests/table/marvin/x_table_width_pct.xml

147 строки
1.9 KiB
XML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>table_width_pct.xml</title>
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Christine Dreckman Date: 5/11/99
Chris Petersen Date: 7/12/99
Christine Dreckman Date: 8/21/2000
-->
</head>
<body>
<table border="1" width="100%">
<tr>
<td>This table should have a width 100% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="75%">
<tr>
<td>This table should have a width 75% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="50%">
<tr>
<td>This table should have a width 50% of the available horizontal
space</td>
</tr>
</table>
<br />
<table border="1" width="25%">
<tr>
<td>This table should have a width 25% of the available horizontal
space</td>
</tr>
</table>
</body>
</html>