bonjour,
j'ai moi aussi un pb (sans doutes tout bete) qui me donne envie de ....
voici donc mon pb:
j'ai un conteneur qui ne veut pas se caller avec les 2 autres div (haut et bas), il perciste un décalage de qques pixels sur la gauche.
si qqun veut bien me porter secours....
je vous donne le code au cas ou...:
merci.
Modifié par guyle (21 Oct 2005 - 14:58)
j'ai moi aussi un pb (sans doutes tout bete) qui me donne envie de ....
voici donc mon pb:
j'ai un conteneur qui ne veut pas se caller avec les 2 autres div (haut et bas), il perciste un décalage de qques pixels sur la gauche.
si qqun veut bien me porter secours....
je vous donne le code au cas ou...:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
{padding:0;position: absolute;with: 100%;height: 100%;font-family: verdana, arial, sans-serif;
margin-left: auto;margin-right: auto}
.haut {width: auto;height: 130px;background-color: ;color: #fff;font-size: 36px;padding: 0px;}
.frame {width: auto;height: 420px;background-color: ;color: #000000;font-size: 12px;padding: 0px; overflow: auto;}
.bas {width: auto;height: 30px;background-color: ;color: #000000;font-size: 12px;padding: 0px;}
</style>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/fond.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div class="haut">
<div align="center">
<table width="780" border="0" cellpadding="0" cellspacing="0" background="images/interface19-10.jpg">
<!--DWLayoutTable-->
<tr>
<td width="780" height="130" align="center" valign="middle">
<a href="index.php?page=accueil" class="menu">Accueil du site</a>
<a href="index.php?page=presentation" class="menu">Présentation</a>
<a href="index.php?page=suite" class="menu">Suite</a>
<a href="index.php?page=fin" class="menu">Dernière page</a> </td>
</tr>
</table>
</div>
</div>
<div class="frame">
<div align="center">
<?php
if (!isset($_GET['page'])) $page='accueil'; else $page= $_GET['page'];
switch($page)
{
case 'accueil': include ('IFRAME1/accueil.htm');break;
case 'presentation': include ('accueil.htm');break;
case 'suite':include ('suite.txt');break;
case 'fin':include ('fin.txt');break;
}
?>
</div>
</div>
<div class="bas">
<div align="center">
<table width="780" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="780" height="30" valign="top" background="images/interface319-10.jpg"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</div>
</div>
</body>
</html>
merci.
Modifié par guyle (21 Oct 2005 - 14:58)