Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
835 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  HTML border-bottom

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

HTML border-bottom

n°1370936
damross762​10
http://www.naturexplore.com
Posté le 19-05-2006 à 23:34:10  profilanswer
 

Bonsoir, voici mon petit problème.
je lis partout que le CSS border-botton est compatible Internet explorer, et pourtant je n'arrive pas a faire fonctionner ce code. suis-je le seul ??
 

Code :
  1. <html>
  2. <head>
  3. <title>essai</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <style type="text/css">
  6. <!--
  7. .titre {
  8. font-family: Arial, Helvetica, sans-serif;
  9. font-size: 16px;
  10. color: #8ba575;
  11. font-weight: bold;
  12. font-style: normal;
  13. border-bottom: #FFFFFF solid 0.8px;
  14. }
  15. -->
  16. </style>
  17. </head>
  18. <body bgcolor="#000000">
  19.      <span class="titre">Bienvenue sur Naturexplore</span>></td>
  20. </body>
  21. </html>

mood
Publicité
Posté le 19-05-2006 à 23:34:10  profilanswer
 

n°1370948
gatsu35
Blablaté par Harko
Posté le 19-05-2006 à 23:59:57  profilanswer
 

 border-bottom:1px solid #FFFFFF ;
 
 
l'ordre est : dimension type couleur
 
et les pixel c'est un nombre entier :o, 0.8 px ca n'existe pas :o

n°1370952
damross762​10
http://www.naturexplore.com
Posté le 20-05-2006 à 00:19:38  profilanswer
 

merci a toi gatsu pour cette précision, mais ca ne fontionne toujours pas. aucun pb sous firefox, mais marche pas sous Internet explorer

n°1370954
gatsu35
Blablaté par Harko
Posté le 20-05-2006 à 00:24:26  profilanswer
 

Code :
  1. <html>
  2.    <head>
  3.    <title>essai</title>
  4.    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5.    <style type="text/css">
  6.    <!--
  7.    
  8.    .titre {
  9.        font-family: Arial, Helvetica, sans-serif;
  10.        font-size: 16px;
  11.        color: #8ba575;
  12.        font-weight: bold;
  13.        font-style: normal;
  14.        border-bottom: 1px solid #FFFFFF;
  15.    }
  16.    
  17.    -->
  18.    </style>
  19.    </head>
  20.    
  21.    <body bgcolor="#000000">
  22.    
  23.        <span class="titre">Bienvenue sur Naturexplore</span>></td>
  24.    
  25.    </body>
  26.    </html>


 
pourquoi chez moi ca marche :o ?

n°1370956
damross762​10
http://www.naturexplore.com
Posté le 20-05-2006 à 00:32:44  profilanswer
 

je viens d'essayer sur deux autres ordi, toujours pas de soulignement sous internet explorer....

n°1370957
gatsu35
Blablaté par Harko
Posté le 20-05-2006 à 00:48:57  profilanswer
 

tu as copié collé le code que je viens de te mettre :o ??
 
colles le codes HTML complet que tu es en train de tester :o

n°1370967
xtof_83
Freeride Spirit
Posté le 20-05-2006 à 02:51:00  profilanswer
 

Code :
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  3.    <head>
  4.    <title>essai</title>
  5.    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6.    <style type="text/css">
  7.    <!--
  8.  
  9.     body,html {
  10.     background-color=#000000;
  11.     }    
  12.  
  13.    h1 {
  14.        font-family: Arial, Helvetica, sans-serif;
  15.        font-size: 16px;
  16.        color: #8ba575;
  17.        font-weight: bold;
  18.        font-style: normal;
  19.        border-bottom: 1px solid #FFFFFF;
  20.    }
  21.    
  22.    -->
  23.    </style>
  24.    </head>
  25.    
  26.    <body>
  27.    
  28.        <h1>Bienvenue sur Naturexplore</h1>
  29.    
  30.    </body>
  31.    </html>


 
Tiens ça c'est un titre pas besoin de span


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  HTML border-bottom

 

Sujets relatifs
HTML pour les nuls ! conseillé par moiAppli HTML/JS sur cd/DVD
[HTML] Lancer un téléchargement automatiquementDe la conversion des .PSD en HTML
form htmlextraire une ligne d'une page html
border table[HTML/CSS] Je deviens fou avec mon affichage (table, div et css) help
Mettre un border sur une area : CSS ? Javascript ??[HTML] Cadres particuliers
Plus de sujets relatifs à : HTML border-bottom


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR