Bonjour à tous,

Bon comme d'habitude, je ne comprends vraiment rien au css.

La déclaration du DOCTYPE dans ma page HTML supprime mes attributs de la class : table.tonna td.0_2_2_0. Sans cette déclaration, tout va bien bizarrement...

Code css : Sélectionner tout - Visualiser dans une fenêtre à part
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
table.tonna
{
	font-size:9px;
	margin:0px;
	padding:0px;
	position:absolute;
	top:30px;
}
table.tonna td
{
	border:0px;
 
	vertical-align:top;
	padding:5px;
	text-align:center;
	white-space:nowrap;
	background-color:#FFF;
}
table.tonna td.0_2_2_0
{
	border-left:0px;
	border-top:solid 1px #333;
	border-right:solid 1px #333;
	border-bottom:0px;
 
	vertical-align:top;
	padding:5px;
	text-align:center;
	white-space:nowrap;
	background-color:#FFF;
}

Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<body>
<table class='tonna'>
<tr>
    <td class='0_2_0_0'>Lun</td>
</tr>
</table>
</body>
</html>

Merci à vous,
Axel