Header Ad problem

Discussion in 'HTML & Website Design' started by PoySian, Aug 16, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Please look out on my forum's header beside "Advertise with Dentocafe".
    The ad size is 728*90, it is not aligning with the red strip(header).
    When i place <center> code its coming acroos on the "Advertise with Dentocafe" banner.
    How do i slove this, do i need code to align the Ad?
    Please help me out.
    Thank you

    URL: www.dentocafe.com
     
    PoySian, Aug 16, 2007 IP
  2. Roido

    Roido Active Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Website address?
     
    Roido, Aug 16, 2007 IP
  3. PoySian

    PoySian Banned

    Messages:
    792
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #3
    PoySian, Aug 16, 2007 IP
  4. Roido

    Roido Active Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I am by no means any expert but this hack should get it working, there will probably be a better way of doing this.

    [​IMG]

    In CSS set:

    .banner_right
    {
    	background-image: url(images/styles/takeoutred/style/banner_right.gif);
    	background-repeat: no-repeat; background-position: top right;
    	[B]height: 14px;[/B]
    }
    Code (markup):

    In html, for the banner:

    <div class="banner_box">
    <br>
    <center>
       <script type="text/javascript"><!--
       google_ad_client = "pub-4844153164478339";
       google_ad_width = 728;
       google_ad_height = 90;
       google_ad_format = "728x90_as";
       google_cpa_choice = "CAEaCIPA_D2_IsXzUC1QEg";
       google_color_border = "FFFFFF";
       google_color_bg = "FFFFFF";
       google_color_link = "CC0000";
       google_color_text = "CC0000";
       google_color_url = "CC0000";
       //-->
       </script>
       <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
       </script>
    </center>
    	<div class="banner_left"><div class="banner_right">
    		<div class="banner_pad">
    		</div>
    	</div></div>
    </div>
    Code (markup):
     
    Roido, Aug 16, 2007 IP
Thread Status:
Not open for further replies.