Bonjour,
je n'arrive pas à afficher mon .a xhtml (code ci-après), comme dirait l'autre,"j'ai du faire une connerieeee". A la lecture de mon code ,certains puristes ressentiront peut être une douleur brutale à la poitrine, côté coeur. Ames sensibles s'abstenir donc. Plus sérieusement, soyez tolérant, je débute.

[code]<!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>index
    </title>
    <style type="text/css">
html body{
width: 100%;
height: 100%;
background-color: #000000;
}

body{
margin: 0;
padding: 0;
}
#ensemble{
position: absolute;
width: 800px;
height: 600px;
background-color: #000000;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -300px;
}
.entete{
width: 800px;
height: 80px;
background-color: #333333;
text-align: center;
vertical-align: middle;
font-size: 40px;
color: #666666;

}
.flash{
width: 800px;
height: 245px;
background-color: ;
}
a.flash { 
     display: block;
     width: 316px; 
     height: 180px; 
     background-image: url(site_xhtml/photos/capture_flash.jpg); 
     background-repeat: no-repeat;
	 float: left;
	 margin-top: 10px;
     margin-left: 40px;
	 text-decoration: none;
	 
	 }
.textef{
float: right;
width: 400px;
height: 245px;
margin-top: px;
color: #666666;
text-align: center;
vertical-align: middle;
font-size: 15px;
font-weight: bold;
}
.xhtml{

width: 800px;
height: 245px;
background-color: ;
}
.a xhtml{
     display: block; 
     width: 261px; 
     height: 180px; 
     background-image: url(site_xhtml/photos/capture_xhtml.jpg); 
     background-repeat: no-repeat;
	 float: left;
	 margin-top: 10px;
     margin-left: 40px;
	 text-decoration: none;
	 }
.texted{
float: right;
width: 400px;
height: 245px;
margin-top: px;
color: #666666;
text-align: center;
vertical-align: middle;
font-size: 15px;
font-weight: bold;
}
.pied{
width: 800px;
height: 30px;
background-color: #333333;
text-align: center;
vertical-align: middle;
margin-top: 10px;
}
.pied a {
color: #666666;
text-decoration: none;
font-weight: bold,

}	 

</style>
  </head>
  <body>
<div id="ensemble">

  <div class="entete">mon site</div>
    <div class="flash">
       <a class="flash" href="http://www.monsiteamoiblablabla.com"></a>
    <div class="textef">
       <p>high connexion</p>
       <p>haute vitesse</p>
    </div>
  </div>
  
  <div class="xhtml">
      <a class="xhtml" href="http://www.monsite.com/site_xhtml/php/index.php"></a>
   <div class="texted">
     <p>length connexion</p>
     <p>basse vitesse</p>
   </div>
  </div>
  
  <div class="pied"><a href="mailto:contact@moi.com">contact@moi.com</a>
  </div>
  
</div>
  </body>
 </html>


merci
Bonjour,
en fait il a fallu que je transforme .a xhtml en .xhtml a dans le css et tout fonctionne. l'url était bonne. Je vois que nous étions au moins 3 insomniaques cette nuit là.
merci
Ceci dit, (j'emploie un peu trop souvent cette expression ... Smiley ohwell )

c'est bizarre d'avoir une class nommée xhtml Smiley cligne
TriadPtale a écrit :
Ceci dit, (j'emploie un peu trop souvent cette expression ... Smiley ohwell )

c'est bizarre d'avoir une class nommée xhtml Smiley cligne


<joke>C'est vrai que .brocoli serait mieux Smiley biggol </joke>
Modifié par Olivier (29 Jun 2005 - 18:49)
Bonjour,
xhtml, j'avoue que ce n'était pas judicieux mais c'était sur l'instant pour me repérer, depuis j'en ai changé le nom
à +