+ Reply to Thread
Results 1 to 12 of 12
Ads by Google
  1. #1
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329

    Exclamation Coding help (ad)

    how can i make this google ad float on the right and left (all the way on the side of the web page)

    <script type="text/javascript"><!--
    google_ad_client = "pub-5950080384455750";
    /* 120x600, Ramahelp */
    google_ad_slot = "5985360182";
    google_ad_width = 120;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>


    Thanks

  2. #2
    PsiPro's Avatar
    PsiPro is offline Moderator
    Join Date
    Mar 2007
    Posts
    519
    you want it to float on the right and always be there when the page scrolls?
    Brian Malinconico - @psipro

    Psi Webhosting

    Low-load business class web servers
    Discounted custom Shared, Reseller, and Dedicated plans available to YE members through PM only.
    The Aquarium Wiki

  3. #3
    Gaulkin's Avatar
    Gaulkin is offline YE Veteran
    Join Date
    Jul 2007
    Posts
    1,156
    <p align="right">

    <script type="text/javascript"><!--
    google_ad_client = "pub-5950080384455750";
    /* 120x600, Ramahelp */
    google_ad_slot = "5985360182";
    google_ad_width = 120;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    </p>

    try that first, if it doesn't work ill give you something else
    www.tidytax.com ; Solve your tax problems with the help of tax attorneys, certified public accountants and enrolled IRS agents.

  4. #4
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329
    psipro: yes thats exactly what i want

  5. #5
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329
    Gaulkin Thats doesnt work. can i have something else? Also I use wordpress where do you think this should go, header, sidebar?

  6. #6
    Gaulkin's Avatar
    Gaulkin is offline YE Veteran
    Join Date
    Jul 2007
    Posts
    1,156
    side bar, what does it do when u add the code?
    www.tidytax.com ; Solve your tax problems with the help of tax attorneys, certified public accountants and enrolled IRS agents.

  7. #7
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329
    nothing happens
    also there is no sidebar in the theme...

  8. #8
    Gaulkin's Avatar
    Gaulkin is offline YE Veteran
    Join Date
    Jul 2007
    Posts
    1,156
    pm me and ill look at your code
    www.tidytax.com ; Solve your tax problems with the help of tax attorneys, certified public accountants and enrolled IRS agents.

  9. #9
    myfayt is offline YE Veteran
    Join Date
    Jan 2009
    Posts
    597
    Do you use a CSS file? if so its easy.

  10. #10
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329
    yes i do what should i do?

  11. #11
    PsiPro's Avatar
    PsiPro is offline Moderator
    Join Date
    Mar 2007
    Posts
    519
    Please see: Fixed layer with CSS "overflow: auto"

    div.fixedcontent {
    position: fixed;
    z-index: 2;
    top: 1em;
    right: 5%;
    }
    that is your basic code.
    Brian Malinconico - @psipro

    Psi Webhosting

    Low-load business class web servers
    Discounted custom Shared, Reseller, and Dedicated plans available to YE members through PM only.
    The Aquarium Wiki

  12. #12
    benmaxime is offline Senior Member
    Join Date
    Feb 2009
    Posts
    329
    thanks it works well
    www.ramazhelp.com

Ads by Google

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Untitled Document
YoungEntrepreneur Logo Featured on: Business Week About Alltop Wall Street Journal

Terms of Service | Privacy Policy


SEO by vBSEO 3.5.0 RC3