Tom's Guide > Forum > Programmation > Etrange résultat

Etrange résultat

Forum Programmation : Etrange résultat

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

Bonjour je viens de créer un page mais la présentation ne donne pas du tout ce à quoi je m'attendais.
Voiçi le code :

Code :
  1. // XHTML --------------------------------------------------
  2. <?php echo"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n" ?>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  5. <head>
  6. <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
  7. <meta http-equiv="content-language" content="fr" />
  8. <title>Surfeurdu33</title>
  9. <meta name="description" content="Le site perso de Greg Alias Surfeurdu33 : Ma présentation, mes photos, mes amis" />
  10. <meta name="keywords" lang="fr" content="surfeurdu33, greg, surfeur33" />
  11. <meta name="category" content="internet" />
  12. <meta name="revisit-after" content="1 days" />
  13. <meta name="author" lang="fr" content="Greg / Surfeurdu33 / Surfeur33" />
  14. <meta name="copyright" content="Surfeurdu33" />
  15. <meta name="generator" content="WebExpert6" />
  16. <meta name="identifier-url" content="http://surfeurdu33.free.fr" />
  17. <?php
  18. $ip = $_SERVER['REMOTE_ADDR'];
  19. if ($ip=="127.0.0.1" ) $chemin2 = "http://127.0.0.1/surfeurdu33" ;
  20. else $chemin2 = "http://surfeurdu33.free.fr";
  21. ?>
  22. <script type="text/javascript" src="<?php echo $chemin2 ?>/script.js"></script>
  23. <link rel="stylesheet" type="text/css" href="style_sms.css" />
  24. </head><?php echo"\n\n" ?>
  25. <body>
  26. <div class="phone">
  27. <p><img src="sharp_top.jpg" width="187" height="73" alt="top" /></p>
  28. <p>
  29. <img src="sharp_left.jpg" width="23" height="185" alt="left" />
  30. <span class="mess"><?php echo /*$lire ; */ ?></span>
  31. <img src="sharp_right.jpg" width="23" height="185" alt="right" />
  32. </p>
  33. <p><img src="sharp_bottom.jpg" width="187" height="162" alt="bottom" /></p>
  34. </div>
  35. </body>
  36. </html>
  37. // CSS --------------------------------------------------
  38. * {margin:0;padding:0}
  39. body {margin-top:20px;overflow:auto;}
  40. img {border:none;}
  41. ul {list-style-type:none;}
  42. img.coll {border:none;display:block;}
  43. div.phone {background-color:#D6FFB0;width:512px}
  44. span.mess {width:138px;overflow:auto;}



Et une capture d'écran :

http://surfeurdu33.free.fr/etrange.jpg

Déja j'aimerai que l'image du bas (sharp_bottom.jpg) soit collée au reste (haut) et ensuite pourquoi le "<span class="mess"> depasse de l'image ?

J'espère que vous m'avez compris merçi

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.
Tom's Guide > Forum > Programmation > Etrange résultat
Aller à :

Il y a 403 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