In the vertical direction, you can set the alignment of the header, which can be top, center, or bottom.
Top means above, Middle means in the middle, and Bottom means below. File example: 10-41.htm Set the vertical alignment of the table header. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-41.htm --> 03 <!-- File Description: Set the header to vertical alignment --> 04 <!-- ------------------------------ --> 05 <html> 06 <head> 07 <title>Set the vertical alignment of the header</title> 08 </head> 09 <body> 10 <h1>Mainstream Web Design Software</h1> 11 <table border=3 width=400 height=100 bordercolor=#336699 background=10-8.JPG cellspacing=10 cellpadding=25> 12 <tr> 13 <th valign="Top">Web Graphics Software</th><th>Fireworks</th> 14 </tr> 15 <tr> 16 <td>Web page creation software</td><td>Dreamweaver</td> 17 </tr> 18 <tr> 19 <td>Web animation software</td><td>Flash</td> 20 </tr> 21 </table> 22 </body> 23 </html> The 13th line of the file description defines the vertical alignment of the table header as top. |
<<: A brief discussion on VUE uni-app conditional coding and page layout
>>: Creation, constraints and deletion of foreign keys in MySQL
Table of contents 1. When the mouse passes over t...
Use CSS styles and HTML tag elements In order to ...
Today we will learn how to use CSS to create a co...
1. Go to the location where you want to store the...
This article shares with you the tutorial of inst...
Purpose: Treat Station A as the secondary directo...
Basic structure: Copy code The code is as follows:...
This article shares the specific method of instal...
1. Introduction When we log in to MySQL, we often...
Using the CSS3 border-image property, you can set...
Statistics of QPS values in the last N seconds ...
Table of contents 1. New II. Modification element...
MySQL v5.7.19 official version (32/64 bit install...
Two cases: 1. With index 2. Without index Prerequ...
When using element-ui, there is a commonly used c...