bonjour,

j'essaie de créer une dialogbox

Code : 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
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
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.db_frame{
width: 300px;
float: left;
margin: 1em;
padding: 0.3em;
background-color:white;
border: 1px solid #c0c0c0;
}
 
 
.db_titlebar{
position: relative;
padding: 0.5em 0.3em 0.3em 1em;
background-color:#e6ebff;
border: 1px solid #c0c0c0;
}
 
.db_title{
float: left;
margin: 0.1em 0 0.2em;
font-weight:bold;
font-style: italic;
color:black;
}
 
.db_close{
position:absolute;
right:0.3em;
padding:0;
top:50%;
width:19px;
margin:-11px 0 0 0;
height: 19px;
}
 
.db_close a{
display:block;
margin:0;
padding:0;
height: 19px;
width:19px;
/*background-image: url("../croix4.gif");*/
background-color:yellow;
border: 1px solid #e6ebff;
}
 
.db_close a:hover{
border: 1px solid #c0c0c0;
background-color:#eef1ff;
}
 
 
.db_content{
margin:0.8em 0.5em;
padding:0;
}
 
.spacer { 
margin:0;
padding:0;
clear: both; 
}
 
 
</style>
</head>
<body>
	<div id="dialogbox1" class="db_frame">
		<div class="db_titlebar">
			<div class="db_title">
				Salut
			</div>
			<div class="db_close"><a href="#"></a></div>
			<div class="spacer"></div>
		</div>
		<div class="db_content">
			Mon Text ici ! dsfd sdfsdf dsfdsfsd sdfsdfdsf sdfsdf dsfdsf sdffsdf
		</div>
	</div>
</body>
</html>
comment faire pour que ça fonctionne sous IE6 ?

merci d'avance