Code : Tout sélectionner
<link rel="stylesheet" type="text/css" href="test_fichiers/style.css">Code : Tout sélectionner
BODY {
COLOR: white; HEIGHT: 500px; BACKGROUND-COLOR: black
}
IMG {
BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid
}
.thumb {
LEFT: 0px; POSITION: relative; TOP: 0px
}
.thumb A {
MARGIN: 0px; TEXT-DECORATION: none
}
.thumb A:hover {
BACKGROUND-COLOR: black
}
.thumb A .grand {
DISPLAY: block; WIDTH: 0px; POSITION: absolute
}
.thumb A:hover .grand {
LEFT: 0px; WIDTH: 300px; POSITION: absolute; TOP: 80px; HEIGHT: 225px
}Code : Tout sélectionner
<link rel="stylesheet" type="text/css" href="Includes/tournée_photos.css">
Code : Tout sélectionner
<style type="text/css">
<!--
.thumb {
position:relative;
top:0;
left:0;
}
.thumb a {
margin:0;
text-decoration:none;
}
.thumb a:hover {
background-color:white; /*indispensable, sinon, pas de zoom */
}
.thumb a .grand {
display:block;
position:absolute;
width:0px;
}
.thumb a:hover .grand {
position:absolute;
top:100px; /*espacement */
left:0px;
width:300px;
height:225px;
}
-->
</style>

Pas tout à fait, regardes bien ce n'est pas identiqueBizarre.... ton code marche...alors que le mien non... pourtant on a la même chose oO c'est pas normal ça ...
Fixée ? une petite précision serait bienvenueAutre petit soucis de naviguateur, une image fixée marche sous Firefox mais pas sous IE, ça s'arrange facilement? =))
Ah oui...px =pPas tout à fait, regardes bien ce n'est pas identiqueBizarre.... ton code marche...alors que le mien non... pourtant on a la même chose oO c'est pas normal ça ...![]()
Oui désolé je ne suis pas très clair, je reprends.Fixée ? une petite précision serait bienvenueAutre petit soucis de naviguateur, une image fixée marche sous Firefox mais pas sous IE, ça s'arrange facilement? =))
Code : Tout sélectionner
.gauche {
background-repeat: no-repeat ;
background-attachment: fixed ;
background-image: url(../Images/gauche.jpg);
background-position: top left;
margin:0;
width: 290px;
height: 800px;
}
Code : Tout sélectionner
<table>
<tr>
<td rowspan="2"> MENU GAUCHE</td>
<td> BANNI7RE HAUT </td>
</tr>
<tr>
<td> CONTENU </td>
</tr>
</table>
Code : Tout sélectionner
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> - Titre- </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<? include "Includes/base.php"; ?>
<div align="justify">
<font face="verdana" size="-1" align="justify">
<link href="Includes/gauche.css" rel="stylesheet" type="text/css">
<link href="Includes/menu.css" rel="stylesheet" type="text/css">
<table bgcolor="#FFFFFF" height="100%" width="100%" align="center" valign="top">
<tr>
<td width=291 rowspan="4" align="letf" valign="top" background="Images/gauche.jpg" class="gauche">
PAGES EN COURS DE TRAVAIL <br><br>
<a href="agri_def.htm">Definition </a>
</td></td>
<td width="71%" height="81" align="center" valign="top" background="Images/haut_coccinnelle.jpg">
<!------------ MENU ----------------->
<div align="center">
<ul class="menu">
<li><a href="actu.php">Menu</a></li>
<li><a href="actu.php">Menu</a></li>
<li><a href="actu.php">Menu</a></li>
<li><a href="actu.php">Menu</a></li>
</ul>
</div> </td>
</tr>
<tr>
<td height="594" valign="top"><br>
<!------------ CONTENU DE LA PAGE----------------->
<p align="center"><img src="Images/Logos/actualite.jpg"></p>
<?
$req="select titre, texte, photo from actu";
$requet=mysql_query($req);
$i=0;
while($i<mysql_num_rows($requet))
{
$i++;
}
$titre = mysql_result($requet,$i-1,"titre");
$texte = mysql_result($requet,$i-1,"texte");
$photo = mysql_result($requet,$i-1,"photo");
echo"<font color='#B9D041' ><b>".$titre."</b></font>";
echo"<br><br>";
echo "<table background-position: center><tr>";
echo "<td widht='70%' align='justify' valign='top'>".$texte."<br></td>";
echo "<td valign='middle'><img src=".$photo." width='220' height='220'></td>";
echo "</tr></table>";
?>
<br><br>
<div align="center"><a href="archives.php">Visualiser les archives</a></div>
</td>
</tr>
<tr>
<td height="45" valign="bottom"><img src="Images/barre_bas.jpg"></td>
</tr>
<tr>
<td height="38" align="left" valign="bottom" widht="15%">
<table width="478" height="36" border="0">
<tr>
<td width="80"><img src="Images/plan_bas.jpg" ></td>
<td valign="middle"><font color="#B9D041">></font><a href="actu_bio.php">Le bio</a> > Actualité</td>
</tr>
</table>
</td>
</tr>
</table>
</font>
</div>
</body>
</html>Code : Tout sélectionner
.gauche {
background-repeat: no-repeat ;
background-attachment: fixed ;
background-image: url(../Images/gauche.jpg);
background-position: top left;
margin:0;
width: 290px;
height: 800px;
}