Problème de mise en forme! Absolute ou center??
Publié : 02 déc. 2006, 20:46
Bonjour,
Je suis en pleine création de mon site mais j'ai qql problèmes de mise en forme.
Je vous explique avec le code:
Comme vous voyez dans mes codes, j'ai centrer toute ma page afin que la structure du site soit centrer sur n'importe quel serveur net, et mon image index_08 est en background afin de pouvoir y écrire de sur. Le souci c'est que dés que j'écris et que je choisis mon style et font sur cette image en background, mon image entière est décallée de quelques peu vers le bas...?!
J'ai donc pensé à mettre cette image en position "absolute" mais la aussi j'ai qql soucis. Je suis novice et je me demande si les deux options (center + position "absolute") sont comptatible, car sur ma zone de travaille (sur Dreamweaver) l'image en position absolute n'est pas bien centré, par contre sur mon apercu dans le navigateur c'est ok. Sauf que les autres images faisant partie de la structure du site sont décalés.
Quels solutions pour ce problème? Dois-je utiliser la position absolute pour toute mes images de structure et oublié le centrer?
Bref est-ce que qqn pourrait m'aider??
MERCI d'avance!
Message envoyé avec : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SKY13)
Je suis en pleine création de mon site mais j'ai qql problèmes de mise en forme.
Je vous explique avec le code:
Code : Tout sélectionner
<html>
<head>
<title>Background Essai 7slide</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Georgia, "Times New Roman", Times, serif}
-->
</style>
</head>
<body bgcolor="#ddd69e" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Background Essai 7slide.psd) -->
<table id="Table_01" width="781" height="601" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="10">
<img src="images/index_01.jpg" width="341" height="125" alt=""></td>
<td>
<img src="images/index_02.jpg" width="439" height="125" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="125" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="images/index_03.jpg" width="153" height="20" alt=""></td>
<td rowspan="2">
<img src="images/index_04.jpg" width="1" height="135" alt=""></td>
<td colspan="3" rowspan="2">
<img src="images/index_05.jpg" width="95" height="135" alt=""></td>
<td rowspan="2">
<img src="images/index_06.jpg" width="1" height="135" alt=""></td>
<td rowspan="7">
<img src="images/index_07.jpg" width="91" height="475" alt=""></td>
<td rowspan="7">
<div style="background:url(images/index_08.jpg)"; "width=439px;height=475px">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div></td>
<td>
<img src="images/spacer.gif" width="1" height="20" alt=""></td>
</tr>
<tr>
<td rowspan="4">
<img src="images/index_09.jpg" width="34" height="339" alt=""></td>
<td colspan="2">
<img src="images/index_10.jpg" width="99" height="115" alt=""></td>
<td rowspan="4">
<img src="images/index_11.jpg" width="20" height="339" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="115" alt=""></td>
</tr>
<tr>
<td>
<img src="images/index_12.jpg" width="2" height="109" alt=""></td>
<td>
<img src="images/index_13.jpg" width="97" height="109" alt=""></td>
<td colspan="5">
<img src="images/index_14.jpg" width="97" height="109" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="109" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="2">
<img src="images/index_15.jpg" width="99" height="115" alt=""></td>
<td colspan="5">
<img src="images/index_16.jpg" width="97" height="98" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="98" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="3">
<img src="images/index_17.jpg" width="2" height="133" alt=""></td>
<td rowspan="2">
<a href="contact.html"><img src="images/index_18.jpg" alt="" width="93" height="115" border="0"></a></td>
<td colspan="2" rowspan="2">
<img src="images/index_19.jpg" width="2" height="115" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="17" alt=""></td>
</tr>
<tr>
<td colspan="4" rowspan="2">
<img src="images/index_20.jpg" width="153" height="116" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="98" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/index_21.jpg" width="94" height="18" alt=""></td>
<td>
<img src="images/index_22.jpg" width="1" height="18" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="18" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="34" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="2" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="97" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="20" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="93" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="91" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="439" height="1" alt=""></td>
<td></td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
J'ai donc pensé à mettre cette image en position "absolute" mais la aussi j'ai qql soucis. Je suis novice et je me demande si les deux options (center + position "absolute") sont comptatible, car sur ma zone de travaille (sur Dreamweaver) l'image en position absolute n'est pas bien centré, par contre sur mon apercu dans le navigateur c'est ok. Sauf que les autres images faisant partie de la structure du site sont décalés.
Quels solutions pour ce problème? Dois-je utiliser la position absolute pour toute mes images de structure et oublié le centrer?
Bref est-ce que qqn pourrait m'aider??
MERCI d'avance!
Message envoyé avec : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SKY13)