Intégration bloc adsense sous le menu

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
#3
Bonjour,

Merci pour votre réponse. J'ai donc ajouté le code comme mentionné mais le décalage est toujours présent.

Merci pour votre aide,

Paul

Voici les
Code :
[== XHTML ==]
Dans le gabarit:


<div  id="menu">
            <ul>
                <li id="current"><a href="http://www.londres-week-end.com/">Week end Londres</a></li>    
                <li><a href="http://www.londres-week-end.com/blog/">Blog</a></li>
            </ul>
        </div>    

                <div class="GoogleAdsense">
<!-- BLOC googleadsense -->
        <!--    {literal}  -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 728x90 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-8373409122624396"
     data-ad-slot="6946371068"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
        <!--    {/literal}  -->
</div>
                        
        <!-- content-wrap starts here -->

        <div id="content-wrap">


                
            <div id="sidebar">

<div class="titre">Photos de Londres</div>




Dans la feuilles de style:

#header #slogan {
    position: absolute;
    margin: 0; padding: 0;
    font: normal .8em 'Trebuchet MS', Arial, Sans-serif;
    text-transform: none;
    color: #FFF;
    
    /* change the values of top and left to adjust the position of the slogan*/
    top: 74px; left: 58px;        
}
#header  .GoogleAdsense {
    margin: 5px auto 10px auto;
    height: 90px;
    width: 730px;
    display: block;
}

/* Menu */
#menu {
    clear: both;    
    margin: 0; padding: 0 40px 0 0;
    background: url(menu.jpg) repeat-y center top;    
    font: bold 12px/26px Verdana, Arial, Tahoma, Sans-serif;
    height: 26px;
extraits de code:
#3
Bonjour,

Merci pour votre réponse. J'ai donc ajouté le code comme mentionné mais le décalage est toujours présent.

Merci pour votre aide,

Paul

Voici les
Code :
[== XHTML ==]
Dans le gabarit:


<div  id="menu">
            <ul>
                <li id="current"><a href="http://www.londres-week-end.com/">Week end Londres</a></li>    
                <li><a href="http://www.londres-week-end.com/blog/">Blog</a></li>
            </ul>
        </div>    

                <div class="GoogleAdsense">
<!-- BLOC googleadsense -->
        <!--    {literal}  -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 728x90 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-8373409122624396"
     data-ad-slot="6946371068"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
        <!--    {/literal}  -->
</div>
                        
        <!-- content-wrap starts here -->

        <div id="content-wrap">


                
            <div id="sidebar">

<div class="titre">Photos de Londres</div>




Dans la feuilles de style:

#header #slogan {
    position: absolute;
    margin: 0; padding: 0;
    font: normal .8em 'Trebuchet MS', Arial, Sans-serif;
    text-transform: none;
    color: #FFF;
    
    /* change the values of top and left to adjust the position of the slogan*/
    top: 74px; left: 58px;        
}
#header  .GoogleAdsense {
    margin: 5px auto 10px auto;
    height: 90px;
    width: 730px;
    display: block;
}

/* Menu */
#menu {
    clear: both;    
    margin: 0; padding: 0 40px 0 0;
    background: url(menu.jpg) repeat-y center top;    
    font: bold 12px/26px Verdana, Arial, Tahoma, Sans-serif;
    height: 26px;
extraits de code:


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)