当前位置:网站首页>Beautified table style
Beautified table style
2022-07-06 13:44:00 【Little boy, handsome Yang Shaoping】
<html>
<head>
<title></title>
<style type="text/css">
body,table{
font-size:12px;
}
table{
table-layout:fixed;
empty-cells:show;
border-collapse: collapse;
margin:0 auto;
}
td{
height:30px;
}
h1,h2,h3{
font-size:12px;
margin:0;
padding:0;
}
.table{
border:1px solid #cad9ea;
color:#666;
}
.table th {
background-repeat:repeat-x;
height:30px;
}
.table td,.table th{
border:1px solid #cad9ea;
padding:0 1em 0;
}
.table tr.alter{
background-color:#f5fafe;
}
</style>
</head>
<body>
<table width="90%" class="table">
<tr>
<th> Student number </th>
<th> full name </th>
<th> At ordinary times </th>
<th> Midterm </th>
<th> experiment ( Practice )</th>
<th> Other </th>
<th> End of term </th>
<th> General comment </th>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr class="alter">
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
</table>
</body>
</html>
边栏推荐
- A comprehensive summary of MySQL transactions and implementation principles, and no longer have to worry about interviews
- The latest tank battle 2022 full development notes-1
- Leetcode.3 无重复字符的最长子串——超过100%的解法
- 2022 Teddy cup data mining challenge question C idea and post game summary
- Miscellaneous talk on May 27
- Why use redis
- 甲、乙机之间采用方式 1 双向串行通信,具体要求如下: (1)甲机的 k1 按键可通过串行口控制乙机的 LEDI 点亮、LED2 灭,甲机的 k2 按键控制 乙机的 LED1
- 为什么要使用Redis
- Rich Shenzhen people and renting Shenzhen people
- Set container
猜你喜欢
随机推荐
The difference between abstract classes and interfaces
优先队列PriorityQueue (大根堆/小根堆/TopK问题)
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
[hand tearing code] single case mode and producer / consumer mode
9.指针(上)
[中国近代史] 第五章测验
Questions and answers of "signal and system" in the first semester of the 22nd academic year of Xi'an University of Electronic Science and technology
【九阳神功】2022复旦大学应用统计真题+解析
Inaki Ading
3. Input and output functions (printf, scanf, getchar and putchar)
关于双亲委派机制和类加载的过程
2.初识C语言(2)
SRC挖掘思路及方法
Reinforcement learning series (I): basic principles and concepts
【毕业季·进击的技术er】再见了,我的学生时代
Mortal immortal cultivation pointer-1
Custom RPC project - frequently asked questions and explanations (Registration Center)
5. Function recursion exercise
[面试时]——我如何讲清楚TCP实现可靠传输的机制
仿牛客技术博客项目常见问题及解答(一)