Tom's Guide > Forum > Programmation > de l'ordre dans mon html
Mot :    Pseudo :           
 

salut tout le monde,

voila j'aimerais savoir si ce serait possible que quelqu'un m'aide à mettre de l'ordre dans mon html,
je ne demande surtout pas qu'on me le fasse mais juste un tout petit peu d'aide parce que je ne me retrouve plus dans mon code et je pense que beaucoup de choses ne servent a rien...

-Ensuite jai un autre piti soucis, c'est pour mon lecteur flash. J'ai donc mit un lecteur de videos en flash sur mon site, seulement sur les deux videos que j'ait mise, juste une part !! :-(

voila voila, si quelqu'un veut bien m'aider, soit par msn ou en restant sur le forum, je peut mettre tout mon code en dl sur le site si vous voulez, (le mettre sur le forum je trouve pas ca super bien lisible) bref voila tout mes soucis :-D

Merci beaucoup pour votre aide!!

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

Le mettre sur le site en utilisant les balises "code" permet à quiconque de récupérer le code sans télécharger quoi que ce soit.. c'est donc pour moi plus pratique.

Mets ton code, et on verra ce qu'on peut faire ;-)

Répondre à Darit

darit avec les balises code ca ne marche pas, il me reprend, il utilise quand meme le code!!! il n'y as que le code css qui est ecrit le html lui est utiliser...

jai fai une nouvelle page html tu voit

<html>
<head>
</head>
<body>
<code>
<!--ici jai mit tout mon code html que je veu vous montrer-->
</code>
</body>
</html>

voila comment jai fait ce n'est pas bon ?

Répondre à immat

Bien sûr que si c'est tout bon ca :-) En même temps c'est la base...

Ce n'est pas le code à l'intérieur de la valise <body> que tu voulais nous montrer ?

Répondre à Darit

je n'arrive pas a le mettre sur mon site, donc je vous met le code sur le forum et dite moi svp ce qui ne va pas !!

voici mon code html:

<html>
<head><link href="content.css" type="text/css" rel="stylesheet"/>
<title>immat w@lrd</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="750" height="50" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000"
bgcolor="#FFFFFF">
<tr>
<td height="768" valign="top"><table width="750"
height="111" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19" valign="top"><img src="images/entete.gif" width="750" height="58"></td>
</tr>
<tr>

<td height="53" valign="top"><table width="750" height="51" border="0" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="224" valign="top"><img src="images/entetegauche.gif"
width="224" height="81"></td>
<td width="526" valign="top"><table width="526" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="63" valign="bottom" background="images/entetedoite.gif"><table width="526"
height="54" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="90" height="18"> </td>
<td width="90"> </td>
<td width="90"> </td>
<td width="90"> </td>
<td width="90"> </td>
<td width="76"> </td>
</tr>
<tr>
<td height="18"><div align="center"><a href="index.htm">Accueil</a></div></td>
<td height="18"><div align="center"><a href="http://immat.zikforum.com">forum</a></div></td>
<td height="18"><div align="center"><a href="livre.htm">livre d'or </a></div></td>
<td height="18"><div align="center"><a href="contact.htm">contacts</a></div></td>
<td height="18"><div align="center"><a href="sondage.htm">sondage</a></div></td>
<td height="18"> </td>
</tr>
<tr>
<td height="18"> </td>
<td height="18"> </td>
<td height="18"> </td>
<td height="18"> </td>
<td height="18"> </td>
<td height="18"> </td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="750" height="506" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="145" height="506" valign="top"><table width="145" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/menu1haut.gif" width="145" height="50"></td>
</tr>
<tr>
<td background="images/menu1.gif"><table width="145" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25"> </td>
<td width="23"> </td>
<td width="10"> </td>
<td width="87"><a href="index.htm">Accueil</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="lezim.htm">lezim.86</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="inde.htm">Indé project</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="graf">Tatoo's graf project</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="http://www.immat.skyblog.com">Immat.sky</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="http://www.all-is-art.skyblog.com">All is art.sky</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="sports.htm">Sports infos</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="cross.htm">Stunt cross</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="videos.htm">Videos</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="rap.htm">News rap francais</a></td>
</tr>

</tr>
</table></td>
</tr>
<tr>
<td><img src="images/menu2haut.gif" width="145" height="50"></td>
</tr>
<tr>
<td background="images/menu2.gif"><table width="145" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25"> </td>
<td width="23"> </td>
<td width="10"> </td>
<td width="87"><a href="http://www.immat.zikforum.com">Forum</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="contact.htm">Contacts</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td><a href="lien.htm">Liens</a></td>
</tr>


</table></td>
</tr>
<tr>
<td><img src="images/menu3haut.gif" width="145" height="50"></td>
</tr>
<tr>
<td background="images/menu3.gif"><table width="140" height="71" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="27"> </td>
<td width="88"> </td>
<td width="25"> </td>
</tr>
<tr>
<td> </td>

<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/menu3bas.gif" width="145" height="50"></td>
<script src='http://tools.ifrance.com/compteur/?log=immat.sky&id=3942397' type='text/javascript'></script>
</tr>
</table>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="120" height="25">
<param name="movie" value="Rmp3P.swf">
<param name="quality" value="high">
<embed src="Rmp3P.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="120" height="25"></embed>
</object>
</div></td>
<td valign="top"> <table width="603" height="80" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td width="33" align="center" valign="middle">
<A HREF="#" onClick="this.style.behavior='url(#default#homepage)'
;this.setHomePage('http://www.immat.sky.ifrance.com');">
<img src="images/maison.gif" alt="Mettre en page de démarrage" width="26"
height="31" border="0">
<a title="Ajouter mon site dans vos Favoris"
href="javascript:window.external.addfavorite('http://www.immat.sky.ifrance.com')">
<img src="images/favoris.gif" alt="Ajouter aux favoris" width="26" height="22" border="0"></td>
<td width="503" background="images/pub.gif"><div align="center"><img src="images/ban.gif"><!--mettre flash ban ici-->

</div></td>
<td width="67"><p> </p>
<p> </p></td>
</tr>
</table>
<table width="605" height="160" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="7" height="43"> </td>
<td valign="bottom"><img src="images/texo.gif" width="598" height="40"></td>
</tr>
<tr>
<td width="7"> </td>
<td background="images/texmillieu.gif"><table width="598" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="18"> </td>
<td width="558" class="stylewarning"><p>Accueil<br>
<br>
</p> </td>
<td width="25"> </td>
</tr>
<tr>
<td> </td>
<td><p align="left"><span class="styleecriture">
<p>...Bienvenue sur immat w@rld laisser une trace de votre passage sur le livre d'or...
</p>
<br>
</span><span class="styleecriture"></span></p>
<hr align="left" width="100%">
<div align="left">
<p><span class="stylelienmail"></span><br>



<hr align="left" width="100%">
<span class="stylelienmail">News :
<p>
-Tout est neuf mais le site en cours de construction alors patientez un peu...
-beaucoup de rubriques vont arriver en meme temps, alors n'hesiter pas a revenir!
</p>


<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="7" height="40"> </td>
<td valign="top"><img src="images/texba.gif" width="598" height="40"></td>
</tr>
</table></td>
</tr>
</table>
<table width="750" height="44" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="457" background="images/designgauche.gif"><table width="457" height="44" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td width="117"> </td>
<td width="340"> </td>
</tr>
<tr>
<td> </td>
<td><table width="378" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="right"><span class="styledesign">Copyright © 2005 - Immat w@rld- Tous droits réservés.</span></div></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="293"><img src="images/design.gif" width="293" height="44" border="0" usemap="#Map"></td>
</tr>
</table></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="7,20,250,46" href="http://www.immat.skyblog.com">
</map>
</body>
</html>

et enfin voila mon code css:

body {
background-image: url("images/fond.bmb" );
}
body,td,th {
font-family: Verdana;
font-size: 10px;
color: #000000;
}
A {
color: #000000;
text-decoration: underline;
font-family : Verdana;
font-size : 8pt;
font-weight: bold;
}

A.clean {
font-weight: bold;
text-decoration: none;
}

A:hover {
color: #716f64;
text-decoration: underline;
}
.stylewarning {font-size: 10px; font-weight: bold; font-family: Verdana; color: #FF0000;}
.stylelogo {font-size: 14px; font-weight: bold; font-family: Verdana; color: #000000;}
.styledesign {font-size: 10px; font-weight: bold; font-family: Verdana; color: #ffffff;}
.styleMenu {font-size: 12px; font-weight: bold; font-family: Verdana; color: #ffffff;}
.styleecriture {font-size: 10px; font-family: Verdana; color: #000000;}
.stylelienmail {font-size: 10px; font-weight: bold; font-family: Verdana;}
.stylewebmaster {font-size: 10px; font-weight: bold; font-family: Verdana; color: #84B5FF;}
.styletitre {
color: #000000;
font-family: Verdana;
font-size: 10px;
font-weight: bold;
}

Répondre à immat

Bon les tableaux pour faire la mise en page, ca en rendrait certains malades ;-)

Donc niveau propreté on peut mieux faire avec des balises <div> mais bon...

Sinon je te conseillerais d'unir les cellules vides...

En remplacant les paquets :

<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>

Par

<tr><td colspan="3"></td></tr>

Ca sera je pense déjà un peu plus propre et met

Code :
  1.  

dans tes cellules car les cellules vides sont pas gérées partout de la même facon...

Répondre à Darit

Citation :


Darit a écrit :
En remplacant les paquets :

<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>

Par

<tr><td colspan="3"></td></tr>





Rien à voir, tout dépend de l'affichage souhaité pour le résultat.

Répondre à okinou

j'ai peur d'avoir mit beaucoup de ligne en trop!!!!
je voudrais le compresser
et puis pour faires mes autre page du site, je copie colle tout le code de l'index sauf le contenu que je change selon le contexte de la page !!
est ce bien ?!
et toujour ce probleme de video qu'il n'y en as une seul qui part !!
http://immat.sky.ifrance.com/cross.htm

Répondre à immat


Citation :

j'ai peur d'avoir mit beaucoup de ligne en trop!!!!


Si tu veux t'amuser, va voir ce que te dis le validateur sur ton code...ici :-?

Répondre à ImAzIr

t'en a une sur deux qui marche

Répondre à tunisien

merci imaZir maintenant je suis au courant que j'ai trop trop d'erreur :-D
pfiou la misere je sent que j'ai du taf la :-o

Répondre à immat

Et oui !!

Pour avoir moins d'erreurs tu peux mettre un "doctype" à tes pages html qui est HTML TRANSITIONAL pour commencer (regarde sur le site du W3C) à corriger les erreurs. Ensuite si tu es maso, mets le doctype XHTML STRICT ! :-)

Répondre à ImAzIr

En même temps c'est à toi de voir si tu juges nécessaire de tout changer pour pouvoir valider ta page...

Car comme ca m'a plus l'air d'un site perso...

Répondre à Darit
Tom's Guide > Forum > Programmation > de l'ordre dans mon html
Aller à :

Il y a 2371 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens