Problème de bannière google [Réglé]

WRInaute discret
Bonjour à tous,

Je rencontre actuellement un problème avec la bannière google que j'ai mis sur les pages de mon site à gauche (pour l'adresse de mon site, voir mon profil). En effet, sous certaines résolutions, la bannière vient sur les menus apparemment.
Il faudrait donc peut être que la bannière s'adapte.

Voici le code de mon header:
Code:
<BODY BGCOLOR=#DED5BC LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="javascript:doResize();" onResize="javascript:doResize();">
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<a name="haut"></a>
<div align="center">
<!---Colonne de gauche, menu--->
      <div style="position: absolute; left: Opx; top: 20%;">
      <br>
<script type="text/javascript"><!--
google_ad_client = "pub-6999657929291678";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "DED5BC";
google_color_bg = "DED5BC";
google_color_link = "000000";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
      </div>

<!---
Fin du menu
Colonne milieu, première partie
--->
<table width="100%" border="0">
<tr>
<td align="center">
<div align="center">

<!--- DEBUT : TABLE DU LOGO --->
<table width="690" border="0" cellspacing="0" cellpadding="0">
  <tr align="center" valign="top">
    <td width="100"><img src="images/left.jpg" width=100 height=191 alt=""></td>
    <td width="468"><img src="images/up.jpg" width=468 height=16 alt=""><br><img src="images/logo.gif" width=468 height=92 alt=""><br>
      <IMG SRC="images/down.jpg" WIDTH=468 HEIGHT=54 ALT=""><br>
      <table width="468" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="images/menu_bkg.jpg"><div align="center"><img src="images/menu_bkg.jpg" align="texttop">
         
             <!--- AFAIRE : Modifier vos menus ici. Utilisez la classe Menu. Veillez à ne pas dépasser 468 pixels de larges. --->
         
        &nbsp;&nbsp;&nbsp;&nbsp;<a class="menu" href="accueil.php">Accueil</a> ~
        <a class="menu" href="newmemberlist.php">Membres</a> ~
        <a class="menu" href="guildes.php">Guildes</a> ~
        <a class="menu" href="index.php">Forum</a><a class="menu" href="chat.php"> / Chat</a> ~
        <a class="menu" href="contact.php">Contact</a> ~
<?
$total_online_users = 0;
   $sql = "SELECT session_logged_in, session_ip
      FROM phpbb_sessions
      WHERE session_time >= ".( time() - 300 );
   if( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
   }
   while( $row = $db->sql_fetchrow($result) )
   {
      $total_online_users++;
   }
   $db->sql_freeresult($result);

echo $total_online_users;
?>
&nbsp;connectés
</div></td>
        </tr>
      </table>
      <IMG SRC="images/downer.jpg" WIDTH=468 HEIGHT=13 ALT=""><br>
    </td>
    <td width="122"><img src="images/right.jpg" width=122 height=191 alt=""></td>
  </tr>
</table>
<!--- FIN : TABLE DU LOGO --->
<!--- DEBUT : TABLE CONTENU  --->
  <table width="690" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="31" background="images/left_scroll.jpg"><IMG SRC="images/spacer2.gif" name="image1" id="image1" WIDTH=49 HEIGHT=1 ALT=""></td>
      <td valign="top" background="images/fond.jpg">
   <div align="center">
          <table width="590" border="0" cellspacing="0" cellpadding="4">
            <tr valign="top">

Quelqu'un a-t-il une idée ?

Merci énormément d'avance :wink:
 
WRInaute occasionnel
Bonjour,

C'est le fait qu'elle soit en absolute qui pose problème.
Soit tu t'arranges pour que ta page principale fasse une 100aine de pixel de plus en largeur minimale, afin de prendre en compte la publicité, soit tu mets ta publicité ailleurs.
A moins que tu voyes d'autres manières pour que "la bannière s'adapte".
 
WRInaute discret
Mince, 100 pixels de plus en largeur, ça fait beaucoup.
Je ne m'y connais pas trop donc a priori, je ne vois pas d'autres moyens. Merci.
 
Discussions similaires
Haut