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

71 строка
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- testcase: td_valign_top.html -->
<!-- description: TD element, VALIGN attribute, TOP value -->
<!-- Author: Chris Petersen Date: 8/7/98 -->
<!-- Modified: Christine Dreckman: 3/18/99 -->
<!-- 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 TD element with the VALIGN attribute, assigning a value of 'top'-->
<!-- Expected result: There is one row and 3 columns. The cell in the first column contains an image. The text in the second and third column cells should be vertically aligned to the top -->
<title>td_align_top</title>
</head>
<body>
TD VALIGN&#61;TOP
<table border=1>
<tr>
<td><img SRC="../images/raptor.jpg" alt=image height=185 width=300></td>
<td valign=top>This text should be vertically aligned to the top</td>
<td valign=top>This text should be vertically aligned to the top</td>
</tr>
</table>
</body>
</html>