Problème de compatibilité de navigateur

ahery Messages postés 7 Statut Membre -  
omar-senegal Messages postés 271 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

J'ai besoin une aide, mon problème c'est que ma page web ne s'affiche pas correctement dans quelque navigateur. je ne sais pas s'il y a un problème css ou quoi. Aide moi ! Est-ce-qu'il y a des méthodes standard pour le faire ?
A voir également:

4 réponses

omar-senegal Messages postés 271 Date d'inscription   Statut Membre Dernière intervention   26
 
salut tu fai ton site donne moi l adrresse pour ke je voi
0
ahery Messages postés 7 Statut Membre
 
Le pb c que mon site n'est pas encore le ligne. mais je t donne le code.

index.html :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>index devweb</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/template.css">

</head>

<body>

<div class="conteneur">

<div class="menu">
<ul class="menuhaut">
<li><a href="index.html">Le Studio</a></li>
<li><a href="">Nos Services</a></li>
<li><a href="">Nos Ralisations</a></li>
<li><a href="">Comment nous travaillons ?</a></li>
<li><a href="">Contact</a></li>
</ul>
</div>



<div class="header">
<div class="studio"></div>
<div class="imhead"></div>
</div>



<div class="centre">
<div class="texte">
Nous sommes une jeune agence de design graphique creée en Octobre 2007 par des passionns en graphisme.<br><br>
Situe Antananarivo Madagascar, notre petite structure vous accompagne dans l'élaboration de votre ligne graphique.<br><br>
Créativité, sérieux et qualité sont nos leitmotivs.<br><br>
Quel que soit votre secteur d' activité, petite ou moyenne entreprise, indépendant, association, voir particulier, nous sommes là pour vous aclasser avoir une bonne impression auprès de votre entourage. </div>
<div class="arbre"></div>
</div>
</div>


</body>
</html>




template.css :

body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 0.8em;
margin: 0;
padding: 0;
}

.menu {
height: 39px;
background: url(../images/barre_de_menu.png) no-repeat white;
}
.header {
height: 116px;
background: url(../images/head.png) no-repeat white;
}
.conteneur {
position: relative;
width: 800px;
margin: 0 auto;
}
.centre {
height: 301px;
background:url(../images/body.png) no-repeat white;
}
.arbre {
float: right;
background: url(../images/arbre.png) no-repeat white;
width: 257px;
height: 252px;
margin-right: 15px;
margin-top: 20px;
}
.studio {
float: left;
background: url(../images/studio.png) no-repeat white;
width: 118px;
height: 37px;
margin-left: 20px;
margin-top: 80px;
}
.imhead {
float:right;
background: url(../images/photo_head.jpg) no-repeat white;
margin-right: 4px;
margin-top:1px;
width: 497px;
height: 116px;
}
.menuhaut {
position:relative;
font: normal normal 12px Century Gothic;
list-style-type: none;
margin: 14px;
padding:0px;
margin-bottom: 7px;
text-align: center;
}
.menuhaut li {
display:inline;
}
.menuhaut a {
margin: 0 20px;
color: white;
text-decoration: none;
}
.menuhaut a:hover {
text-decoration: none;
color: #66CCFF;
}
.texte {
float:left;
width: 450px;
height: 200px;
margin-left: 20px;
margin-top: 20px;
color:#0066CC;
font:normal normal 11px verdana;
text-align:justify;
}
0
omar-senegal Messages postés 271 Date d'inscription   Statut Membre Dernière intervention   26
 
bien quan j ai des problemes d affichage entre firefox et ie6 je fais quelque reglage par rapport au div ou selecteur qui pose probleme par exemple si

.texte {
float:left;
width: 450px;
height: 200px;
margin-left: 20px;
margin-top: 20px;
color:#0066CC;
font:normal normal 11px verdana;
text-align:justify;
} ne s affiche pas de la meme sorte dans ie6 et firefox je fait d abord mon reglage sous firefox d abord puisqu il respecte le miex les standard et kan j y obtient un bon resultat je copie le code dan ma feuille de css et je le colle en bas mais j y rajoute
* html comme ca seul ie6 va changer et non firefox ceki donne dans ton cas par exemple
.texte {
float:left;
width: 450px;
height: 200px;
margin-left: 20px;
margin-top: 20px;
color:#0066CC;
font:normal normal 11px verdana;
text-align:justify;
}



* html .texte {
float:left;
width: 450px;
height: 200px;
margin-left: 30px;
margin-top: 20px;
color:#0066CC;
font:normal normal 11px verdana;
text-align:justify;
} et tu modifie les padding et margin pour avoir la meme chose
0
ahery Messages postés 7 Statut Membre
 
Je vous remercie Omar-senegal, Si le comprens, on met dans le code css html.texte comme selecteur mais ça ne change rien.
0
omar-senegal Messages postés 271 Date d'inscription   Statut Membre Dernière intervention   26
 
attention jai dit met * HTML attention
0