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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Demo pour Developpez</title>
<style type="text/css">
body
{
background-color:black;
}
table
{
width:100%;
border-collapse:collapse;
}
.bordhg, .bordhd, .borddg, .borddd
{
width:0.5%;
}
td
{
border:1px black solid;
border-top:1px;
background-color:red;
}
th
{
border-top:2px white solid;
background-color:orange;
border-right:1px black solid;
}
.bordhg
{
border-left:2px white solid;
border-right:none;
border-bottom:2px white solid;
}
.bordhd
{
border-left:none;
border-right:2px white solid;
border-bottom:2px white solid;
}
.bordh
{
border-right:none;
}
.borddd, .borddg
{
border:none;
background:none;
}
</style>
</head>
<body>
<table>
<tr>
<th class="bordhg"></th>
<th>Case 1</th>
<th class="bordh">Case 2</th>
<th class="bordhd"></th>
</tr>
<tr>
<td class="borddg"></td>
<td>Case 1</td>
<td>Case 2</td>
<td class="borddd"></td>
</tr>
<tr>
<td class="borddg"></td>
<td>Case 3</td>
<td>Case 4</td>
<td class="borddd"></td>
</tr>
</table>
</body>
</html> |
Partager