par
Ajoloca » 14 nov. 2006, 09:34
Bonjour Cyrano,
Voici le code (expérimental) que j'utilise
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CV le nom</title>
<meta name="generator" content="Bluefish 1.0.7">
<meta name="author" content="José LOPEZ">
<meta name="date" content="2006-11-14T08:23:14+0100">
<meta name="copyright" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="expires" content="0">
<style type="text/css">
body {
margin: auto;
border: none;
background-color:black;
padding: 0cm;
text-align: center; /* Pour correction bugg IE */
}
#corps {
/*background-color: #5BA9A7;*/
background-color: white;
color: black;
display: table;
margin: auto;
border: solid 1px;
width: 70%;
text-align: left; /* Pour correction bugg IE */
}
#entete {
display: table-row;
}
#coords {
display: table-cell;
padding-left: 10px;
border: solid 1px;
vertical-align: top;
}
.nom{
font-size: 1.5em;
color: black;
font-weight: bold;
}
#titre{
display: table-cell;
vertical-align: bottom;
border: solid 1px;
text-align: center;
}
/* Ajouté pour essais */
#img_titre{
display: block;
}
/* pas encore en place
#photo{
display: table-cell;
border: solid 1px;
text-align: center;
}
</style>
</head>
<body>
<div id="corps">
<div id="entete">
<div id="coords">
<p>
<spam class="nom">Le nom</spam><br />
Le num et la rue<br />
Le CP et la ville
</p>
<p>
Tél. : 00 00 00 00 00<br />
GSM : 00 00 00 00 00<br />
e-mail : <a href="mailto:[email protected]">[email protected]</a>
</p>
</div>
<div id="titre"><img id="img_titre" src="titre1.gif" alt="Le contenu de l'image" width="470" height="102"/></div>
<div id="photo"></div>
</div>
</div>
</body>
</html>
Les border: solid 1px; sont là juste pour voir les tailles.
Ce que je voudrais obtenir visible avec FF, Opera, ... sauf IE
ici
Bonjour Cyrano,
Voici le code (expérimental) que j'utilise[php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CV le nom</title>
<meta name="generator" content="Bluefish 1.0.7">
<meta name="author" content="José LOPEZ">
<meta name="date" content="2006-11-14T08:23:14+0100">
<meta name="copyright" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="expires" content="0">
<style type="text/css">
body {
margin: auto;
border: none;
background-color:black;
padding: 0cm;
text-align: center; /* Pour correction bugg IE */
}
#corps {
/*background-color: #5BA9A7;*/
background-color: white;
color: black;
display: table;
margin: auto;
border: solid 1px;
width: 70%;
text-align: left; /* Pour correction bugg IE */
}
#entete {
display: table-row;
}
#coords {
display: table-cell;
padding-left: 10px;
border: solid 1px;
vertical-align: top;
}
.nom{
font-size: 1.5em;
color: black;
font-weight: bold;
}
#titre{
display: table-cell;
vertical-align: bottom;
border: solid 1px;
text-align: center;
}
/* Ajouté pour essais */
#img_titre{
display: block;
}
/* pas encore en place
#photo{
display: table-cell;
border: solid 1px;
text-align: center;
}
</style>
</head>
<body>
<div id="corps">
<div id="entete">
<div id="coords">
<p>
<spam class="nom">Le nom</spam><br />
Le num et la rue<br />
Le CP et la ville
</p>
<p>
Tél. : 00 00 00 00 00<br />
GSM : 00 00 00 00 00<br />
e-mail : <a href="mailto:
[email protected]">
[email protected]</a>
</p>
</div>
<div id="titre"><img id="img_titre" src="titre1.gif" alt="Le contenu de l'image" width="470" height="102"/></div>
<div id="photo"></div>
</div>
</div>
</body>
</html>[/php]
Les border: solid 1px; sont là juste pour voir les tailles.
Ce que je voudrais obtenir visible avec FF, Opera, ... sauf IE [url=http://www.joloca.eu/cv/cv.html]ici[/url]