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

71 строка
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- testcase: tr_valign_middle.html -->
<!-- description: TR element, VALIGN attribute, MIDDLE value -->
<!-- Author: Chris Petersen Date: 8/6/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 TR element with the VALIGN attribute, assigning a value of 'middle'-->
<!-- 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 middle -->
<title>tr_align_middle</title>
</head>
<body>
TR VALIGN&#61;MIDDLE
<table border=1>
<tr valign=middle>
<td><img SRC="../images/raptor.jpg" alt=image height=185 width=300></td>
<td>This text should be vertically aligned to the middle</td>
<td>This text should be vertically aligned to the middle</td>
</tr>
</table>
</body>
</html>