Problème de CSS sous Firefox et IE

Problème de CSS sous Firefox et IE - HTML/CSS - Programmation

Marsh Posté le 10-10-2005 à 11:18:07    

Bonjour,  
Je suis en train de créer une  application de gestion de client avec PHP/MySQL. J'ai un fichier CSS:

Code :
  1. body {
  2. margin: 0 auto;
  3. padding: 0;
  4. font: 76% Verdana,Tahoma,Arial,sans-serif;
  5. background: #f4f4f4 url(bg.gif) top center repeat-y;
  6. }
  7. #wrap {
  8. background: #ffffff;
  9. color: #303030;
  10. margin: 0 auto;
  11. width: 760px;
  12. }
  13. #header {
  14. clear: both;
  15. margin: 20px 0 0 0;
  16. padding: 0;
  17. height: 45px;
  18. }
  19. #header h1 {
  20. width: 250px;
  21. margin: 0 0 10px 0;
  22. float: left;
  23. }
  24. #header p {
  25. width: 500px;
  26. float: right;
  27. text-align: center;
  28. color: #a0a0a0;
  29. margin: 0 0 10px 0;
  30. font-size: 0.8em;
  31. line-height: 1.2em;
  32. }
  33. #frontphoto {
  34. margin: 0 0 10px 0;
  35. border: 0;
  36. }
  37. #avmenu {
  38. clear: left;
  39. float: left;
  40. width: 150px;
  41. margin: 0 0 10px 0;
  42. padding: 0;
  43. font-size: 0.9em;
  44. }
  45. #avmenu ul {
  46. list-style: none;
  47. width: 150px;
  48. margin: 0 0 20px 0;
  49. padding: 0;
  50. font-size: 1.1em;
  51. }
  52. #avmenu li {
  53. margin-bottom: 4px;
  54. }
  55. #avmenu li a {
  56. font-weight: bold;
  57. height: 20px;
  58. text-decoration: none;
  59. color: #505050;
  60. display: block;
  61. padding: 6px 0 0 10px;
  62. background: #f4f4f4;
  63. border-left: 4px solid #cccccc;
  64. }
  65. #avmenu li a:hover {
  66. background: #eaeaea;
  67. color: #286ea0;
  68. border-left: 4px solid #286ea0;
  69. }
  70. .menuhaut {
  71. list-style-type: none;
  72. margin: 0;
  73. padding:0;
  74. }
  75. .menuhaut li {
  76. display: inline;
  77. }
  78. .menuhaut a {
  79. margin: 0 2px;
  80. color: #000000;
  81. text-decoration: underline;
  82. }
  83. .menuhaut a:hover {
  84. text-decoration: none;
  85. }
  86. .announce {
  87. margin: 10px 0 10px 0;
  88. padding: 10px;
  89. width: 130px;
  90. color: #505050;
  91. background-color: #f4f4f4;
  92. line-height: 1.3em;
  93. }
  94. .tableau1 {
  95. height: 100px;
  96. width:100%;
  97. text-align:center;
  98. }
  99. #extras {
  100. float: right;
  101. width: 100px;
  102. margin: 0 0 10px 0;
  103. padding: 0;
  104. font-size: 0.9em;
  105. line-height: 1.5em;
  106. }
  107. #extras p {
  108. margin: 0 0 1.5em 0;
  109. }
  110. #content {
  111. margin: 0 110px 20px 160px;
  112. border-left: 1px solid #f0f0f0;
  113. border-right: 1px solid #f0f0f0;
  114. padding: 0 10px 0 10px;
  115. line-height: 1.6em;
  116. text-align: left;
  117. }
  118. #content h2 {
  119. font-size: 1.5em;
  120. margin: 0 0 0.5em 0;
  121. }
  122. #content img {
  123. padding: 1px;
  124. display:inline;
  125. background: #cccccc;
  126. border: 4px solid #f0f0f0;
  127. }
  128. h3 {
  129. font-size: 1.3em;
  130. margin: 0 0 10px 0;
  131. }
  132. a {
  133. text-decoration: none;
  134. color: #286ea0;
  135. }
  136. z{
  137. color:#e20032
  138. }
  139. a:hover {
  140. text-decoration: underline;
  141. color: #286ea0;
  142. }
  143. label,input {
  144. display: block;
  145. width: 150px;
  146. float: left;
  147. margin-bottom: 10px;
  148. }
  149. label {
  150. text-align: right;
  151. width: 100px;
  152. padding-right: 20px;
  153. }
  154. a img {
  155. border: 0;
  156. }
  157. #footer {
  158. clear: both;
  159. margin: 0 auto;
  160. padding: 10px 0 20px 0;
  161. border-top: 4px solid #f0f0f0;
  162. width: 760px;
  163. text-align: center;
  164. color: #808080;
  165. font-size: 0.9em;
  166. }
  167. #footer a {
  168. color: #808080;
  169. text-decoration: none;
  170. }
  171. #footer a:hover {
  172. text-decoration: underline;
  173. }
  174. .left {
  175. margin: 10px 10px 5px 0;
  176. float: left;
  177. }
  178. .right {
  179. margin: 10px 0 5px 10px;
  180. float: right;
  181. }
  182. .textright {
  183. text-align: right;
  184. }
  185. .center {
  186. text-align: center;
  187. }
  188. .small {
  189. font-size: 0.8em;
  190. }
  191. .bold {
  192. font-weight: bold;
  193. }
  194. .hide {
  195. display: none;
  196. }


 
Par exemple sous Fx la présentation est ok:
http://www.geneva-racing.com/~limp/hardware/fxok.jpg  
Et sous IE il me mets un espace à la con!:
http://www.geneva-racing.com/~limp/hardware/iepasok.jpg  
 
Si quelqu'un sait pourquoi ça fait ça...
Le code de la page:

Code :
  1. <?
  2. ------------------------------------------------------
  3. include('lib/connection.lib.php');
  4. include('lib/erreur.lib.php');
  5. $req = "SELECT * FROM representant ORDER BY repnom";
  6. $result = Mysql_Query($req) or die ($errReq);
  7. ?>
  8. <form method="post" action="?detailrep">
  9.                 <select name="repchoisi">
  10.                 <?
  11.                 while ($ligne=mysql_fetch_array($result))
  12.                 {
  13.    $repchoisi2 = $_POST['repchoisi'];
  14.                 extract($ligne);
  15.    if($repchoisi2 == $repnum) {echo "<option value='$repnum' selected>$repnom";}
  16.    else {echo "<option value='$repnum'>$repnom";}
  17.                 }
  18.                 ?>
  19.                 </select>
  20.                   <p><input type="submit" name="boutondetail" value="Detail"></p>
  21. </form>
  22. <?
  23. if ($_POST['boutondetail'] == "Detail" )
  24. { $repchoisi = $_POST['repchoisi'];
  25. $req2 = "SELECT * FROM representant WHERE repnum='$repchoisi'";
  26. $result2 = Mysql_Query($req2) or die ($errReq);
  27. $repdata = mysql_fetch_assoc($result2);
  28. ?>
  29. </form>
  30. <form METHOD="POST" ACTION="?modrep">
  31. <input type="hidden" name="repchoisi" value="<?=$repchoisi?>">
  32. <table width="50%" border="0" cellspacing="0" cellpadding="0">
  33. <tr>
  34. <td width="25%"><label for="num">Num&eacute;ro:</label></td>
  35. <td width="75%"><? echo(html_entity_decode($repdata['repnum'], ENT_QUOTES)); ?></td>
  36. </tr>
  37. <tr>
  38. <td width="25%"><label for="nom">Nom:</label></td>
  39. <td width="75%"><? echo(html_entity_decode($repdata['repnom'], ENT_QUOTES)); ?></td>
  40. </tr>
  41. <tr>
  42. <td width="25%"><label for="prenom">Pr&eacute;nom:</label></td>
  43. <td width="75%"><? echo(html_entity_decode($repdata['reppre'], ENT_QUOTES)); ?></td>
  44. </tr>
  45. <tr>
  46. <td width="25%"><label for="adresse">Adresse:</label></td>
  47. <td width="75%"><? echo(html_entity_decode($repdata['repadr'], ENT_QUOTES)); ?></td>
  48. </tr>
  49. <tr>
  50. <td width="25%"><label for="npa">NPA:</label></td>
  51. <td width="75%"><? echo(html_entity_decode($repdata['repnpa'], ENT_QUOTES)); ?></td>
  52. </tr>
  53. <tr>
  54. <td width="25%"><label for="loc">Localit&eacute;:</label></td>
  55. <td width="75%"><? echo(html_entity_decode($repdata['reploc'], ENT_QUOTES)); ?></td>
  56. </tr>
  57. <tr>
  58. <td width="25%"><label for="tel">T&eacute;l&eacute;phone:</label></td>
  59. <td width="75%"><? echo(html_entity_decode($repdata['reptelpri'], ENT_QUOTES)); ?></td>
  60. </tr>
  61. <tr>
  62. <td width="25%"><label for="mob">Mobile:</label></td>
  63. <td width="75%"><? echo(html_entity_decode($repdata['repmob'], ENT_QUOTES)); ?></td>
  64. </tr>
  65. <tr>
  66. <td width="25%"><label for="ville">Ville d'action:</label></td>
  67. <td width="75%"><? echo(html_entity_decode($repdata['repvilletrav'], ENT_QUOTES)); ?></td>
  68. </tr>
  69. </table>
  70. <input name ="boutonmod" type="submit" value="Modifier">
  71. </form>
  72. <form METHOD="POST" ACTION="?suprep">
  73. <input type="hidden" name="repchoisi" value="<?=$repchoisi?>">
  74. <input name ="boutonsupp" type="submit" value="Supprimer">
  75. </form>
  76. <?
  77. mysql_close();
  78. }
  79. ?>

Reply

Marsh Posté le 10-10-2005 à 11:18:07   

Reply

Marsh Posté le 10-10-2005 à 11:26:42    

C'est encore une question de %
 
IE n'a pas mes même marges, etc...que FF
Donc sa merde toujours
 
Solution si tu 50% tu passes à 49%
mettre tous en fixe, ou mettre que les extremité en fixe et le centre en flotant...
 
J'ai pas chercheé ou changer cela dans le code...
Mais tu le sais sans doute mieux que moi
 
;)

Reply

Marsh Posté le 10-10-2005 à 11:48:47    

et super ton tableau à la con pour ton formulaire. Tu n'avais pas plus pourri alors que tu mets bien des labels et tout
mais faut que tu mettes un tableau !!!
bordel !! avec leS CSS c'est mieux


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 10-10-2005 à 13:20:08    

Je sais pour les tableaux, je veux les bannir, mais je vais chercher la manière exacte de faire, d'ailleurs si t'as des pistes, je prends volontier!
Parce que j'ai fait un tableau avec la balise DIV...

Code :
  1. */
  2. include('lib/connection.lib.php');
  3. //On prend tout ce que la table paramètres contient et on le stock dans une variable
  4. $query_string = "SELECT *  FROM `parametres` WHERE entrnom = 'hellokeys'";
  5. $variablesql = mysql_query($query_string);
  6. $paramdata =  mysql_fetch_assoc($variablesql);
  7. ?>
  8. <div id="tableau1">
  9. Nom : <? echo(html_entity_decode($paramdata['entrnom'], ENT_QUOTES)); ?><br />
  10. Adresse :<? echo(html_entity_decode($paramdata['entradr'], ENT_QUOTES)); ?><br />
  11. NPA :<? echo(html_entity_decode($paramdata['entrnpa'], ENT_QUOTES)); ?><br />
  12. Localit&eacute; :<? echo(html_entity_decode($paramdata['entrloc'], ENT_QUOTES)); ?><br />
  13. Num&eacute;ro de t&eacute;l&eacute;phone :<? echo(html_entity_decode($paramdata['entrtel'], ENT_QUOTES)); ?><br />
  14. Num&eacute;ro de fax :<? echo(html_entity_decode($paramdata['entrfax'], ENT_QUOTES)); ?><br />
  15. Logo de l'entreprise :<img src="inc/param/logo/asgar.jpg" width="380" height="88"><br />
  16. </div>
  17. <?
  18. mysql_close();
  19. ?>


 
Ce qui donne:
http://www.geneva-racing.com/~limp/hardware/iefxok.jpg

Reply

Marsh Posté le 10-10-2005 à 13:46:25    

Voilà j'ai transformer une de mes pages:
http://www.geneva-racing.com/~limp/hardware/fxsanttab.jpg
 
Le code:

Code :
  1. <z>Les champs avec * doivent &ecirc;tre renseign&eacute;s</z>
  2. <form METHOD="post" ACTION="?ajoutrep">
  3. <div id="tableau1">
  4. <label for="nom"><?if ($repnom == "" ){echo "<strong><z>Nom*:</z></strong>";}else{echo "Nom:";}?></label><br />
  5. <input value="<? echo $_POST['repnom']; ?>" id="nom" name="repnom" type="text" maxlength="40"><br />
  6. <label for="prenom"><?if ($reppre == "" ){echo "<strong><z>Pr&eacute;nom*:</z></strong>";}else{echo "Pr&eacute;nom:";}?></label><br />
  7. <input value="<? echo $_POST['reppre']; ?>" id="prenom" name="reppre" type="text" maxlength="40"><br />
  8. <label for="adresse"><?if ($repadr == "" ){echo "<strong><z>Adresse*:</z></strong>";}else{echo "Adresse:";}?></label><br />
  9. <input value="<? echo $_POST['repadr']; ?>" id="adresse" name="repadr" type="text" maxlength="60"><br />
  10. <label for="npa"><?if ($repnpa == "" ){echo "<strong><z>NPA*:</z></strong>";}else{echo "NPA:";}?></label><br />
  11. <input value="<? echo $_POST['repnpa']; ?>" id="npa" name="repnpa" type="int" maxlength="4"><br />
  12. <label for="loc"><?if ($reploc == "" ){echo "<strong><z>Localit&eacute;*:</z></strong>";}else{echo "Localit&eacute;:";}?></label><br />
  13. <input value="<? echo $_POST['reploc']; ?>" id="loc" name="reploc" type="text" maxlength="40"><br />
  14. <label for="tel">T&eacute;l&eacute;phone:</label><br />
  15. <input value="<? echo $_POST['reptelpri']; ?>" id="mail" name="reptelpri" type="text" maxlength="15"><br />
  16. <label for="mob">Mobile:</label><br />
  17. <input value="<? echo $_POST['repmob']; ?>" id="mob" name="repmob" type="text" maxlength="15"><br />
  18. <label for="ville"><?if ($repville == "" ){echo "<strong><z>Ville d'action*:</z></strong>";}else{echo "Ville d'action:";}?></label><br />
  19. <input value="<? echo $_POST['repvilletrav']; ?>" id="ville" name="repvilletrav" type="text" maxlength="40"><br />
  20. <input type="submit" id="boutonaj" name="boutonaj" value="Ajouter">
  21. <input type="reset" name="vider" value="Vider les champs"><br />
  22. </form>
  23. <?


Et le bout de CSS qui est appelé:

Code :
  1. # .tableau1 {
  2. # height: 100px;
  3. # width:100%;
  4. # text-align:center;
  5. # }


 
Personne pourrait me dire comment faire pour que ça joue?!


Message édité par limp15000 le 10-10-2005 à 13:47:23
Reply

Marsh Posté le 10-10-2005 à 14:11:01    

le code HTML généré c'est mieux que ton PHP. sinon on prendra pas la peine de te repondre
 
les DIV ca sert à rien, ou ca sert que si tu peux pas faire autrement.
Là ton div, il sert à rien !
ton formulaire tu le style directement, pas besoin de foutre un DIV
 
ensuite un formulaire c'est des labels, fieldset, input et textarea
 
pour les label c'est tout con :  
float:left;
clear:left;
display:block;
width:150px;
font-weight : bold;  
et voila des fieldset à droite et hoplaboum


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 10-10-2005 à 14:11:27    

heu et les jpg de 600 ko non merci, un petit effort pour les recomrpesser en plus


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 10-10-2005 à 14:29:26    

Gatsusat > Ici, ses images font entre 68 et 75 ko. T'as du mal compter le nombre de chifre a moins qu'il ai refait ses images depuis.

Reply

Marsh Posté le 10-10-2005 à 14:29:48    

Bon premièrement, j'ai réduit la taille de l'image qui suit elle fait 38 ko!
Pourquoi y a cette espace??? Entre mon titre et le tableau???
Je sens que j'approche du but...
http://www.geneva-racing.com/~limp/hardware/tab.jpg
 

Code :
  1. <form METHOD="post" ACTION="?ajoutrep">
  2. <label for="nom"><?if ($repnom == "" ){echo "<strong><z>Nom*:</z></strong>";}else{echo "Nom:";}?></label>
  3. <input value="<? echo $_POST['repnom']; ?>" id="nom" name="repnom" type="text" maxlength="40">
  4. <label for="prenom"><?if ($reppre == "" ){echo "<strong><z>Pr&eacute;nom*:</z></strong>";}else{echo "Pr&eacute;nom:";}?></label>
  5. <input value="<? echo $_POST['reppre']; ?>" id="prenom" name="reppre" type="text" maxlength="40"><br />
  6. <label for="adresse"><?if ($repadr == "" ){echo "<strong><z>Adresse*:</z></strong>";}else{echo "Adresse:";}?></label>
  7. <input value="<? echo $_POST['repadr']; ?>" id="adresse" name="repadr" type="text" maxlength="60">
  8. <label for="npa"><?if ($repnpa == "" ){echo "<strong><z>NPA*:</z></strong>";}else{echo "NPA:";}?></label>
  9. <input value="<? echo $_POST['repnpa']; ?>" id="npa" name="repnpa" type="int" maxlength="4">
  10. <label for="loc"><?if ($reploc == "" ){echo "<strong><z>Localit&eacute;*:</z></strong>";}else{echo "Localit&eacute;:";}?></label>
  11. <input value="<? echo $_POST['reploc']; ?>" id="loc" name="reploc" type="text" maxlength="40">
  12. <label for="tel">T&eacute;l&eacute;phone:</label>
  13. <input value="<? echo $_POST['reptelpri']; ?>" id="mail" name="reptelpri" type="text" maxlength="15">
  14. <label for="mob">Mobile:</label>
  15. <input value="<? echo $_POST['repmob']; ?>" id="mob" name="repmob" type="text" maxlength="15">
  16. <label for="ville"><?if ($repville == "" ){echo "<strong><z>Ville d'action*:</z></strong>";}else{echo "Ville d'action:";}?></label>
  17. <input value="<? echo $_POST['repvilletrav']; ?>" id="ville" name="repvilletrav" type="text" maxlength="40">
  18. <input type="submit" id="boutonaj" name="boutonaj" value="Ajouter">
  19. <input type="reset" name="vider" value="Vider les champs"><br />
  20. </form>


 
Et ton CSS pour le label:

Code :
  1. label {
  2. float:left;
  3. clear:left;
  4. display:block;
  5. width:150px;
  6. font-weight : bold; 
  7. }
  8. input {
  9. float:right;
  10. clear:right;
  11. display:block;
  12. width:150px;
  13. }


Message édité par limp15000 le 10-10-2005 à 14:45:18
Reply

Marsh Posté le 10-10-2005 à 14:32:02    

Non je ne les ai pas retoucher, justement je comprenais pas trop car 60 ko c'est rien!!???

Reply

Marsh Posté le 10-10-2005 à 14:32:02   

Reply

Marsh Posté le 10-10-2005 à 14:34:34    

Pour un 56 Ko, ca fait 10 secondes par images. Arrivé à 4 ou 5 images, ca fait plus de 40 à 50 secondes pour avoir les images en entié.
 
Et pour une société dont la liaison internet est sous dimensioné par rapport au nombre d'employé qui l'utilisent, ca peut faire encore plus. ;)

Reply

Marsh Posté le 10-10-2005 à 14:39:58    

Ouais j'avoue que je suis habitué à la connection de mon école en fibre optique... Donc les temps de chargement j'oublie un peu... :D

Reply

Marsh Posté le 10-10-2005 à 14:48:00    

pas de float:right pour le input, puisque un float:left sur le left, fout autpmatiquement le input sur la gauche du label.
Pas besoin de display:block; puisque le input n'en a pas besoin ici.
 
et faut mettre des <br> après chaque input pour bien montrer que tu fais un retour à la ligne: la tu as le droit
 
en gros ton input doit reseembler à ceci :  
input {  
width:150px;  /*ou ce que tu veux histoire que ce ressemble à quelque chose*/
}


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 10-10-2005 à 14:48:51    

je t'ai aussi dit 50x que le code HTML généré c'est mieux pour nous que du code HTML mélangé avec du PHP, c'est pratiquement illisible (même si on comprend)


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 10-10-2005 à 14:52:29    

Si j'ai bien compris c'êst ça que tu veux:

Code :
  1. <form METHOD="post" ACTION="?ajoutrep">
  2. <label for="nom">Nom<z>*</z>:</label>
  3. <td width="75%"><input id="nom" name="repnom" type="text" maxlength="40">
  4. <label for="prenom">Pr&eacute;nom<z>*</z>:</label>
  5. <input id="prenom" name="reppre" type="text" maxlength="40">
  6. <label for="adresse">Adresse<z>*</z>:</label>
  7. <input id="adresse" name="repadr" type="text" maxlength="60">
  8. <label for="npa">NPA<z>*</z>:</label>
  9. <input id="npa" name="repnpa" type="int" maxlength="4">
  10. <label for="loc">Localit&eacute;<z>*</z>:</label>
  11. <input id="loc" name="reploc" type="text" maxlength="40">
  12. <label for="tel">T&eacute;l&eacute;phone:</label><br />
  13. <input id="tel" name="reptelpri" type="text" maxlength="15">
  14. <label for="mob">Mobile:</label>
  15. <input id="mob" name="repmob" type="text" maxlength="15">
  16. <label for="ville">Ville d'action<z>*</z>:</label>
  17. <input id="ville" name="repvilletrav" type="text" maxlength="40">
  18. <input type="submit" id="boutonaj" name="boutonaj" value="Ajouter">
  19. <input type="reset" name="vider" value="Vider les champs"><br />

Reply

Marsh Posté le 11-10-2005 à 09:10:30    

J'ai suivi tes recommendations et j'arrive à ça:
http://www.geneva-racing.com/~limp/hardware/bizarre.jpg
 

Code :
  1. label {
  2. float:left;
  3. clear:left;
  4. width:150px;
  5. font-weight : bold;
  6. font-size: 
  7. }
  8. input {
  9. width:150px;
  10. }


 

Code :
  1. <form METHOD="post" ACTION="?ajoutrep">
  2. <label for="nom">Nom<z>*</z>:</label>
  3. <input id="nom" name="repnom" type="text" maxlength="40"><br>
  4. <label for="prenom">Pr&eacute;nom<z>*</z>:</label>
  5. <input id="prenom" name="reppre" type="text" maxlength="40"><br>
  6. <label for="adresse">Adresse<z>*</z>:</label>
  7. <input id="adresse" name="repadr" type="text" maxlength="60"><br>
  8. <label for="npa">NPA<z>*</z>:</label>
  9. <input id="npa" name="repnpa" type="int" maxlength="4"><br>
  10. <label for="loc">Localit&eacute;<z>*</z>:</label>
  11. <input id="loc" name="reploc" type="text" maxlength="40"><br>
  12. <label for="tel">T&eacute;l&eacute;phone:</label>
  13. <input id="tel" name="reptelpri" type="text" maxlength="15"><br>
  14. <label for="mob">Mobile:</label>
  15. <input id="mob" name="repmob" type="text" maxlength="15"><br>
  16. <label for="ville">Ville d'action<z>*</z>:</label>
  17. <input id="ville" name="repvilletrav" type="text" maxlength="40"><br>
  18. <input type="submit" id="boutonaj" name="boutonaj" value="Ajouter">
  19. <input type="reset" name="vider" value="Vider les champs">
  20. </form>


 
Je sens qu'on approche du but... Merci de m'aider


Message édité par limp15000 le 11-10-2005 à 09:30:43
Reply

Marsh Posté le 11-10-2005 à 10:33:38    

heu <z></z> ca exite po


---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 11-10-2005 à 10:34:54    

tes boutons valider et vider les champs
tu me les fous dans un fieldset
afin de bien les differencier du reste de tes elements
et tes les autres éléments tu les fous aussi dans un fieldset
les éléments d'un formulaire sont toujours dans un fieldset


Message édité par gatsusat le 11-10-2005 à 10:36:37

---------------
Les CSS c'est bon mangez-en
Reply

Marsh Posté le 11-10-2005 à 10:49:54    

FANTASTIQUE!!! Merci, ça fonctionne pour le <z></z> c'est moi qui ai défini dans mon CSS c'est juste pour mettre le text en rouge... J'ai pas le droit dans faire comme ça??
En tout cas, merci, je vais adapter toutes mes pages et virer les tableaux qu'il me restait...  
Milles merci

Reply

Marsh Posté le 11-10-2005 à 11:03:52    

en html, non t'as pas le droit
en xhtml, t'as théoriquement le droit, mais n'oublis pas que ca sera une balise totalement invisible pour les navigateurs sans css vu que ce n'est pas une balise ayant un comportement par défaut.
 
Mieux vaut utiliser une balise ayant une signification sémantique et utiliser une classe pour la styler.

Reply

Marsh Posté le 11-10-2005 à 13:08:39    

Merci pour la précision, je vais modifier ça ;)

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed