Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > CSS
CSS Forum d'entraide sur l'utilisation des feuilles de style CSS. Avant de poster : Cours CSS, FAQ CSS, Galerie CSS
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 24/02/2011, 11h18   #1
Invité de passage
 
Jean-Christophe Magnon
Inscription : avril 2006
Messages : 7
Détails du profil
Informations personnelles :
Nom : Jean-Christophe Magnon

Informations forums :
Inscription : avril 2006
Messages : 7
Points : 1
Points : 1
Par défaut div - float - IE6

Bonjour,

J'ai un souci d'affichage avec IE6, je veux afficher une bulle de texte :


(ça marche sous IE8)

mais voilà ce que donne avec IE6:



Mon code html:

Code :
1
2
3
 
<img src="Images/dialog.gif" style="float: left;" />
<div style="border-color: #a0a0a0; border-width: 1px; border-style: solid; background-color: white; width: 95%; padding-left: 8px; margin-left: 17px;  ">6</div>
merci d'avance de votre aide
jcmag est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 25/02/2011, 09h36   #2
Rédacteur/Modérateur
 
Homme Jérome Debray
Responsable de projet
Inscription : mai 2009
Messages : 627
Détails du profil
Informations personnelles :
Nom : Homme Jérome Debray
Âge : 32
Localisation : France

Informations professionnelles :
Activité : Responsable de projet
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : mai 2009
Messages : 627
Points : 3 064
Points : 3 064
Salut,

pourrait on avoir l'image en question ?
ornitho13 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 25/02/2011, 12h28   #3
Invité de passage
 
Jean-Christophe Magnon
Inscription : avril 2006
Messages : 7
Détails du profil
Informations personnelles :
Nom : Jean-Christophe Magnon

Informations forums :
Inscription : avril 2006
Messages : 7
Points : 1
Points : 1
Citation:
Envoyé par ornitho13 Voir le message
Salut,

pourrait on avoir l'image en question ?
La voici: http://img703.imageshack.us/i/dialog.gif/
jcmag est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 28/02/2011, 20h29   #4
Modérateur
 
Avatar de NoSmoking
 
Homme
Inscription : janvier 2011
Messages : 2 930
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Isère (Rhône Alpes)

Informations forums :
Inscription : janvier 2011
Messages : 2 930
Points : 4 744
Points : 4 744
ne fonctionne pas bien mieux sous IE7
essaies
Code 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>[...]</title>
<style type="text/css">
.div_bulle{
  border-color : #a0a0a0;
  border-width : 1px;
  border-style : solid;
  background-color : white;
  width : 95%;
  padding-left : 8px;
  margin-left : 17px;
  min-height : 41px;
}
.img_bulle {
  position : absolute;
  float : left;
}
</style>
</head>
<body>
  <img class="img_bulle" src="dialog.gif">
  <div class="div_bulle">le texte</div>
</body>
</html>
NoSmoking est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 02/03/2011, 09h44   #5
Invité de passage
 
Jean-Christophe Magnon
Inscription : avril 2006
Messages : 7
Détails du profil
Informations personnelles :
Nom : Jean-Christophe Magnon

Informations forums :
Inscription : avril 2006
Messages : 7
Points : 1
Points : 1
Citation:
Envoyé par NoSmoking Voir le message
ne fonctionne pas bien mieux sous IE7
essaies
Code 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>[...]</title>
<style type="text/css">
.div_bulle{
  border-color : #a0a0a0;
  border-width : 1px;
  border-style : solid;
  background-color : white;
  width : 95%;
  padding-left : 8px;
  margin-left : 17px;
  min-height : 41px;
}
.img_bulle {
  position : absolute;
  float : left;
}
</style>
</head>
<body>
  <img class="img_bulle" src="dialog.gif">
  <div class="div_bulle">le texte</div>
</body>
</html>
ca fonctionne!
merci beaucoup !
jcmag est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 16h30.


 
 
 
 
Partenaires

Hébergement Web