Comment faire pour que ça marche sur Mozilla

Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   -  
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour, je'ai concu mon site avec CSS et XHTML mais mon code marche seulement sur IE
pas sur Mozilla.Comment faire?
A voir également:

3 réponses

MastercroW Messages postés 1094 Date d'inscription   Statut Membre Dernière intervention   163
 
Salut,
A vrai dire, Internet Explorer n'est pas comme tous les navigateurs.
Je te conseil d'optimiser ton site sous Mozilla si tu n'es que débutant du CSS / HTML.
Si tu veux des équivalent, Mozilla est pareil que Safari, Opéra, Google Chrome et bien d'autres encore !
3
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
Merci pour la reponse mais j'ai pas encore telecherger Mozilla.
En plus j'ai pas la connection chez moi et j'utilise un destop et je dois aller dans un cyber pou envoyer mon site.Comment ferai je?
0
MastercroW Messages postés 1094 Date d'inscription   Statut Membre Dernière intervention   163
 
Là, je n'ai pas très bien compris ta question, mais j'ai compris que tu n'avais pas internet chez toi.
Tu veux envoyer ton site sur le serveur à distance c'est bien ça ?
Alors je te conseil FileZilla tu rentres tes informations personnelles tu le transfert et le tour est joué !
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
Merci
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
Salut Master, j'ai pas encore reussi mais maintenant le problème reste sur les navigateur.
omment bien faire les lien pour que mon site marche sur plusieurs navigateurs.
Je te donne un exemple: les fichiers xhtml de mon site se trouvent sur c:\siteweb\html\page1.html les dossiers css dans c:\siteweb\css\design.css.
Pour faire un lien vers une autre page, si j'écris <a hrf"C:\siteweb\html\page2.html">Page numero2</a> ces chemins ne sont pas reconnu par tous les navigateurs, j'aimerais que tu m'aide à détecter les erreurs.Est ce que pour bien écrire les liens on dois commencer par écrire C:\siteweb...?
Par exemple si j'écris \C:\siteweb....pour appeler le css, WINDOWS EXPLORER le reconnait mais pour Mozilla je dois écrire \C:\siteweb...
Merci.
0
MastercroW Messages postés 1094 Date d'inscription   Statut Membre Dernière intervention   163
 
Normal, Two Jay, ton lien n'est pas correct regarde, ton lien fait :
<a href"lien.html"></a> tu as oublié le = avant le "
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>
Kaze mwese twigishanye ururimi rw'Ikirundi
</title>
<!-- La feuille de styles "base.css" doit être appelée en premier. -->
<link rel="stylesheet" type="text/css" href="/C:/siteweb/css/design.css" media="all" />
<link rel="stylesheet" type="text/css" href="/C:/siteweb/css/designo.css" media="screen" />
</head>

<body>

<div id="global">

<div id="entete">
<h1>
<img alt="" src="/C:/siteweb/images/logo2.jpg" />
<span>IGITOKORO</span>
</h1>
<p class="sous-titre">
<strong>IBITEGEKANIJWE MU MISI IR'IMBERE</strong>
Kwiga Ikirundi, Imigani y'Ikirundi, Ibitito vy'Ikirundi, Umuziki mu Burundi, Utuntu n'utundi
</p>
</div><!-- #entete -->

<div id="centre">
<div id="navigation">
<ul>
<li><a href="/C:/siteweb/html/ikaze.html">Ikaze</a></li>
<li><a href="/C:/siteweb/html/insiguroyamajambo.html">Insiguro y'amajambo agoye</a></li>
<li><a href="/C:/siteweb/html/imigenzo.html">Imigenzo y'ikirundi</a></li>
<li><a href="/C:/siteweb/html/imigani.html">Imigani n'imyibutsa</a></li>
<li><a href="/C:/siteweb/html/inkuruzitwenza.html">Udukuru dutwenza</a></li>
<li><a href="/C:/siteweb/html/amakurumukiwani.html">Amakuru mu kiwani</a></li>
<li><a href="/C:/siteweb/html/ibitiko.html">Ibitiko</a></li>
<li><a href="/C:/siteweb/html/amasanamu.html">Amasanamu</a></li>
<li><a href="/C:/siteweb/html/isanamu.html">Isanamu y'indwi</a></li>
<li><a href="/C:/siteweb/html/ivyipfuzo.html">Ivyo mushaka ko twandika ngaha</a></li>
</ul>
</div><!-- #navigation -->

<div id="contenu">
<h2>KAZE MURISANZE!</h2>
Tubanje kubashimira cane ko mwashimye kwugurura hano
kugira ngo mwisomere ibitari bike mu rurimi rw'Ikirundi ndetse namwe mugire ico
muterereye!
<h3>IGITOKORO N'IKI?</h3>
<p>Hari mu mwaka w'2005, muri Lycée Nyakabiga aho twariko turaganira n'abanyeshure
twigana
kuvyerekeye ururimi rw'ikirundi.Twasanze n'ururimi rusa n'urushobora
guhebwa mugihe rutoronka abarugarukira.
Niho rero twashinga umurwi twise <b>Igitokoro</b>!
Twakunda kuvuga ko ari nka <em>akademi y'ikirundi</em>.
Intumbero yacu kwari ugukina mu kuza turabazanya imigani y'ikirundi,imigenzo,...
Ukwo kubazanya imigani
y'ikirundi vyaratumye abatari bake bamenya myinshi batari bazi
kuko twabigira
nk'agahigo!<br/>
Vyari binezereye cane, kwari nk'ugufyina ariko kandi
harimwo kwiga.Na cane cane ko umwe wese yarondera ko bose bamwemera
ko azi ikirundi kurusha abandi!
Twararondera kandi n'amajambo agoye tukayasiguriranirana!
Ivyo navyo vyaratuma nk'abavukiye mu bisagara bamenya ikirundi cane!
<br/>
Kuvyerekeye imigenzo naho, hari nkabo wasanga iwabo batunze inka, nk'uwo yarashobora
kwiganira abandi ata n'igihori batunze!
Yaraheza akabwira abandi ingene bavuga ibicuba,
amazina y'inka,n'ibindi bitari bike nizeye ko tuzobona
mu misi iri imbere kuri ino site!<br/>
<br/>
Hari nk'abarundi batari bake baba mu mahanga, mu bazoba bipfuza kumenya
neza ikirundi canke n'abandi banyamahanga bavyipfuza, n'akaryo kabo.
Turiko turategekanya kandi uko abantu batazi n'amajambo na makeyi mu Kirundi
twobafasha nabo mu kubasigurira mu zindi ndimi!


</p>
<h3>Amajambo mashasha!</h3>

<p>None ko amajambo y'Ikirundi ko ari make, ntakuntu tworondera ayandi
meza yiyongera kuyari ahasanzwe?
<br/>
Nibaza ko bishoboka, navyo biri muvyo tuzoyaga ibishoboka tubikore
kandi tuzobihobora!
Kandi ntakwibagira kubaza abahinga muvy'ururimi rw'IKIRUNDI
hamwe n'abakurambere!
</p>

</div><!-- #contenu -->
</div><!-- #centre -->

<div id="pied">
<p>Si vous vouler nous contacter, <a href="mailto:jimbere@engineer.com">Cliquez ici pour votre sugestion</a>!</p>
<p>Mushaka kutwandikira, <a href="mailto:jimbere@engineer.com">Fyonda ngaha</a>!</p>
<p id="copyright">
Mise en page © 2011 Two Jay M.Lover
</p>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
</p>


</div> <!-- #pied -->

</div><!-- #global -->

</body>
</html>
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
/* --- design --- */

/* Page */
html {
font-size: 100%; /* Voir -> Note 1 à la fin de la feuille de styles. */
}
body {
margin: 0;
padding: 10px 20px; /* Note -> 2 */
font-family: Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif; /* 3 */
font-size: .8em; /* -> 4 */
line-height: 1.25; /* -> 5 */
color: black;
background: white;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 .5em 0; /* -> 6 */
}
h1, h2 {
font-family: Georgia, "Bitstream Vera Serif", Norasi, serif;
font-weight: normal; /* -> 7 */
}
h1 {
font-size: 3em; /* -> 8 */
font-style: italic;
}
h2 {font-size: 1.8em;}
h3 {font-size: 1.2em;}
h4 {font-size: 1em;}

/* Listes */
ul, ol {
margin: .75em 0 .75em 24px;
padding: 0; /* -> 9 */
}
ul {
list-style: square;
}
li {
margin: 0;
padding: 0;
}

/* Paragraphes */
p {
margin: .75em 0;
}
li p, blockquote p {
margin: .5em 0;
}

/* Citations */
blockquote, q {
font-size: 1.1em;
font-style: italic;
font-family: Georgia, "Bitstream Vera Serif", Norasi, serif;
}
blockquote {
margin: .75em 0 .75em 24px;
}
cite {
font-style: italic;
}

/* Liens */
a {
color: lime;
text-decoration: underline;
}
a:hover, a:focus {
color : lime }
a img {
border: none; /* -> 10 */
}

/* Divers éléments de type en-ligne */
em {
font-style: italic;
}
strong {
font-weight: bold;
color: red ;
}


/* --- STYLES POUR CERTAINS CONTENUS DES GABARITS --- */

pre, code {
font-size: 100%;
font-family: "Bitstream Vera Mono", "Lucida Console", "Courier New", monospace;
}
pre {
width: 90%;
overflow: auto;
height:100.1%;
margin: .75em 0;
padding: 12px;
background: #eee;
color: #555;
}
pre strong {
font-weight: normal;
color: black;
}
#copyright {
margin: 20px 0 5px 0;
text-align: right;
font-size: .8em;
color: #848F63;
}
#copyright a {
color: #848F63;
text-decoration: none;
}
#copyright a:hover, #copyright a:focus {
text-decoration: underline;
}
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
/* designo */
body {
color: #F0E39E;
background: #006600;
}
a {
color: #FF6533;
}
a:hover, a:focus {
color: #FF4C00;
}
strong {
color: #A1B55D;
}

#centre {
background: url(c:\siteweb\images\07-colonnes.png) repeat-y; /* Voir -> Note 1 */
}

#navigation {
background: #181A12;
}
#navigation a {
color: #FF6533;
}
#navigation a:hover, #navigation a:focus {
background: #000000;
}

#contenu {
color: #363B29;
background: #cbd888;
}
#contenu a {
color: #332510;
}
#contenu a:hover, #contenu a:focus {
color: #6E5122;
}
#contenu strong {
color: #181A12;
}


body {
padding: 10px 5px;
}
#global {
width: 750px;
margin: 0 auto;
}

#entete {
padding: 20px 20px 20px 0;
background-image:url("C:\siteweb\images\entetecomp.jpg");
}
#entete h1 {
margin: 0;
}
#entete h1 img {
float: left;
margin: 7px 20px 10px 0;
}
#entete .sous-titre {
margin: 4px 0 15px 0;
}

#centre {
width: 100%;
overflow: hidden;
}


#navigation {
width: 180px;
float: left;
}
#navigation ul {
margin: 0;
padding: 20px 10px 20px 10px;
list-style: none;
}
#navigation a {
display: block;
height: 1%;
padding: 6px 10px 6px 10px;
line-height: 1.5;
font-size: .9em;
text-decoration: none;
}

/* Contenu */
#contenu {
margin-left: 200px;
padding: 10px 20px;
}
#contenu > :first-child {
margin-top: 10px;
}
#contenu p, #contenu li {
line-height: 1.5;
}

#pied {
margin: 0;
padding: 15px 20px 10px 0;
font-size: .85em;
}

#copyright {
margin: 8px 0 0 0;
font-size: 1em;
text-align: left;
}
0
Two Jay Messages postés 246 Date d'inscription   Statut Membre Dernière intervention   11
 
Excuse moi de te derranger avec tous ses codes!
J'attends ipmatiement ta reponse!
Ce code ne marche que sur Mozilla mais pas sur les autres navigateurs.
En plus je ne sais pas organiser mon site sur un serveur ou je l'ai heberger!!!
0
bg62 Messages postés 23735 Date d'inscription   Statut Modérateur Dernière intervention   2 409
 
c'est le monde à l'envers là ... habituellement le problème est plutôt dans le sens contraire, m'enfin ...
ensuite tu peux installer tous les navigateurs que tu veux sur le même pc, aucun problème et ça te permet de "visualiser" ou alors le faire sur des scripts en ligne, mais là il y a aussi une question de 'fiabilité' ..
:)
-2