-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTable CSS.html
95 lines (86 loc) · 1.37 KB
/
Table CSS.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<style>
#customers {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
text-align: center;
}
#customers td, #customers th {
border: 1px solid #ddd;
padding: 8px;
}
#customers tr:nth-child(even){background-color: #f2f2f2;}
#customers tr:hover {background-color: #0cd5f8;}
#customers th {
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
background-color: #04AA6D;
color: white;
}
</style>
</head>
<body>
<h1>Table</h1>
<table id="customers">
<tr>
<th>Name</th>
<th>Company</th>
<th>City</th>
</tr>
<tr>
<td>Shiv </td>
<td>Silicon Impex</td>
<td>Palghar</td>
</tr>
<tr>
<td>Shivam</td>
<td>Capgemini</td>
<td>Navi mumbai</td>
</tr>
<tr>
<td>Vipin</td>
<td>HSBC</td>
<td>Thane</td>
</tr>
<tr>
<td>Dilip</td>
<td>Sk Kothari</td>
<td>Bhiwandi</td>
</tr>
<tr>
<td>Hemant</td>
<td>Jaguar</td>
<td>Vashi</td>
</tr>
<tr>
<td>Aman</td>
<td>Aarambh</td>
<td>Pune</td>
</tr>
<tr>
<td>Aadarsh</td>
<td>Wipro</td>
<td>Nasik</td>
</tr>
<tr>
<td>Pawan</td>
<td>RJ Farma</td>
<td>Latur</td>
</tr>
<tr>
<td>Pankaj</td>
<td>PJ Infra</td>
<td>Aurangabad</td>
</tr>
<tr>
<td>Atul</td>
<td>APMC</td>
<td>Raigad</td>
</tr>
</table>
</body>
</html>