Bonjour à tous(tes),

J'ai crée une portlet dans laquelle, il y à des bords arrondis. J'ai utilisé le css suivant pour les navigateur tel que Mozilla, google..

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
-moz-border-radius: 5px 5px 5px 5px; 
    -webkit-border-radius: 5px 5px 5px 5px; 
    border-radius: 5px 5px 5px 5px; 
    -webkit-border-top-left-radius: 5px; /* pour Chrome */ 
    -webkit-border-top-right-radius: 5px; /* pour Chrome */




petit problème cela ne fonctionne pas sous IE donc je souhaiterai les mettre avec du javascript. Sur le net j'ai trouver la fonction roundies, mais je ne parviens pas à le mettre en place...

Pourriez vous m'aider à comprendre comment faire pour que cela fonctionne sous IE svp

Voici le code html de m'a page :


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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!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> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
 
<!--[if lte IE 8]> 
<script type="text/javascript" src="script/roundies.js"></script> 
<!  --> 
 
<script> 
DD_roundies.addRule('#portlet, '10px 10px 0 0'); 
</script> 
 
 
<title>Portlet rose</title> 
 
 
 
<style type="text/css"> 
 
 
#portlet { 
    width: 573px; 
    height:189px; 
    margin: auto; 
    color:white; 
    padding-top: 5px; 
    padding-bottom: 5px; 
    padding-left: 5 px; 
    padding-right: 0px; 
    border: 1px solid #89a; 
    text-decoration: none; 
    -moz-border-radius: 10px 10px 10px 10px; 
    -webkit-border-radius: 10px 10px 10px 10px; 
    border-radius: 10px 10px 10px 10px; 
    -webkit-border-top-left-radius: 10px; /* pour Chrome */ 
    -webkit-border-top-right-radius: 10px; /* pour Chrome */ 
    border-color: #cc0098; 
    font-family:Arial, Helvetica, sans-serif; 
    font-size: 10px; 
} 
#wapper { 
    margin:auto; 
    width: 562px; 
} 
#col-gauche { 
    width: 245px; 
    height: 179px; 
    color:black; 
    float:left; 
} 
#col-droite { 
    width: 301px; 
    height: 169px; 
    color: #ffb8cf; 
    float:right; 
    background-color:#cc0098; 
    border: 5px solid #89a; 
    text-decoration: none; 
    -moz-border-radius: 10px 10px 10px 10px; 
    -webkit-border-radius: 10px 10px 10px 10px; 
    border-radius: 10px 10px 10px 10px; 
    -webkit-border-top-left-radius: 10px; /* pour Chrome */ 
    -webkit-border-top-right-radius: 10px; /* pour Chrome */ 
    border-color: #cc0098; 
    padding-top: 10px; 
} 
#col-droite a img { 
    text-decoration:none; 
    border:none; 
} 
.avatar { 
    float:left; 
} 
.plus { 
    float:left; 
    margin-bottom: 15px; 
    margin-right: 7px; 
} 
.cadeau { 
    clear:both; 
    float:left; 
    margin-bottom: 15px; 
    margin-right: 7px; 
} 
.attention { 
    clear:both; 
    float:left; 
} 
#block1gauche { 
    width: 225px; 
    height:50px; 
    margin-bottom: 19px; 
} 
#block2gauche { 
    clear:both; 
    width: 250px; 
    height:46px; 
    margin-bottom: 3px; 
} 
#block2gauche a { 
    color:#cc0098; 
    ; 
    text-decoration:underline; 
    font-weight:bold; 
    line-height: 20px; 
    padding-right: 10px; 
} 
input { 
    width:95px; 
    margin-right: 6px; 
    color: #cc0098; 
    font-weight:bold; 
    text-align:center; 
    border: 1px solid #c7c7c7; 
    -moz-border-radius: 5px 5px 5px 5px; 
    -webkit-border-radius: 5px 5px 5px 5px; 
    border-radius: 5px 5px 5px 5px; 
    -webkit-border-top-left-radius: 5px; /* pour Chrome */ 
    -webkit-border-top-right-radius: 5px; /* pour Chrome */ 
} 
.ok { 
    width: 20px; 
    height:20px; 
    background-image:url(images/ok.gif); 
    border:none; 
} 
.titre { 
    font-size: 17px; 
    font-weight:bold; 
    color:#cc0098; 
} 
.indentifiez { 
    font-size: 13px; 
    font-weight:bold; 
    line-height: 15px; 
} 
.intitule { 
    font-size: 12px; 
    font-weight:bold; 
    font-family:Arial, Helvetica, sans-serif; 
    line-height: 14.6px; 
    color:white; 
} 
.souhaiter { 
    line-height: 12px; 
    padding-bottom: 14px; 
} 
.zone-texte { 
    width: 233px; 
    float:right; 
} 
h2 { 
    margin:auto; 
    float:left; 
    line-height: 5px; 
    padding-right: 2px; 
    color:white; 
} 
</style> 
</head> 
 
<body> 
<div id="portlet"> 
  <div id="wapper"> 
    <div id="col-gauche"> 
      <div id="block1gauche"> <img class="avatar"src="images/avatar.gif" width="49" height="48" alt="avatar" /><span class="titre">Déjà membre ?</span><br /> 
        <span class="indentifiez">Identifiez-vous et retrouvez<br /> 
        votre espace Club Carte U</span> </div> 
      <div id="block2gauche"> 
        <input name="votre pseudo" type="text" size="12" maxlength="25" value="votre pseudo" /> 
        <input name="votre pseudo" type="text" size="12" maxlength="25" value="******" /> 
        <input class="ok" type="button" value="" /> 
        <a href="#"> Mot de passe oublié ?</a><a href="#">Devenir membre du club</a></div> 
      <img src="images/surlignement.gif" width="246" height="6" alt="surlignement" /> Connaitre votre nombre de points et tous vos avantages, recevoir sur demande la newsletter, découvrir les Produits Points Bonus du mois, réserver vos cadeaux en ligne...</div> 
    <div id="col-droite"> <a href="#"><img class="plus" src="images/+550.gif" width="50" height="40" alt="+500" /></a> 
      <div class="zone-texte"> 
        <div class="souhaiter"><span  class="intitule">Vous souhaitez gagner 550 points ? </span><br /> 
          <h2>.</h2> 
          Vite, parrainez un(e) ami(e) et faites<br /> 
          lui découvrir le Club Carte U</div> 
      </div> 
      <a href="#"><img class="cadeau" src="images/cadeau.gif" width="47" height="35" alt="cadeau" /></a> 
      <div class="zone-texte"><span  class="intitule">Pas encore membre du club Carte U  ?</span> <br /> 
        <div class="souhaiter"> 
          <h2>.</h2> 
          Vite je m¹inscris, c¹est gratuit et je gagne 150<br /> 
          points bonus </div> 
      </div> 
      <a href="#"><img class="attention"src="images/visuel-3.gif" width="49" height="36" alt="attention" /> </a> 
      <div class="zone-texte"><span  class="intitule">Vous n'avez pas votre carte de fidélité  ?</span> <br /> 
        <div class="souhaiter"> 
          <h2>.</h2> 
          Remplissez vite le bulletin à déposer à l¹accueil <br /> 
          de votre magasin U et recevez 150 points<br /> 
          en cadeau de bienvenue</div> 
      </div> 
    </div> 
  </div> 
</div> 
</body> 
</html>





Je ne comprends pas comment rajouter DD_roundies.addRule.... j'ai bien dis (il me semble) qu'il doit être appliqué sur ma div portlet mais cela ne fonctionne pas...

Pourriez vous m'aidez svp ?

Cordialement.