• Resolved dymas

    (@dymas)


    Hi

    I posted the same earlier but it did not seem to register.
    How to make google and amazon advertisement to appear the way we want it? I am Andreas09 theme. When I view the site firefox, the page look fine, but when viewed using internet explorer, the texts will be pushed down by the advertisement (in javascript), instead of wrapping around it. This makes the page too long and a lot of empty spaces.

    I appreciate any help.

    Thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter dymas

    (@dymas)

    I’d just like to correct my post above. I am not Andreas09. It should read: “I am using Andreas09 theme”, and : ” When I view the site using Firefox..”

    Thanks

    ghanshyamgadhiya

    (@ghanshyamgadhiya)

    can i see your site ?

    Thread Starter dymas

    (@dymas)

    Here is one of the pages my site sample

    Looking forward to your suggestion

    Thank you

    Root

    (@root)

    There is 5px of padding hardcoded into the Google div. Take it out or adjust the container width.

    Thread Starter dymas

    (@dymas)

    Hi Root,
    I’ve just removed the padding but it doesn’t seem to have any effect. Is the ‘container width’ you mentioned here referring to the padding? Sorry, but I am a complete rookie.

    revenuerocker

    (@revenuerocker)

    When I put banner ads into posts, the same thing happens. The banners look fine in FireFox, but in reality, are too wide for the coding to make it work correctly in IE. And thus, the ads on the right sidebar are pushed down, just as you describe.

    Make sure any code you add to the posts fits withing the posting cell’s parameters.

    If you’re using ads or banners from an affiliate company or Amazon, etc. see if you can find creatives that are narrower, preferably 360 px or less.

    At least this works for me.

    Thread Starter dymas

    (@dymas)

    Hi revenuerocker,
    If I’ve got you right,then it doesn’t work for me. The banner in my sit sample is only 120×240 which is far too narrower than the post page itself.

    ghanshyamgadhiya

    (@ghanshyamgadhiya)

    just put your text content in this div

    <div style=”float:right;”>
    <p>When I first saw our baby…….doctor.</p></div>

    it will solve your problem in IE but create problem in firefox. i dont have your other coding information. so i m able to do just this. try out other style tag with this div you may get success.

    revenuerocker

    (@revenuerocker)

    Dymas:

    Right, but you also have text inline with it. Even though the text is wrapping, it may be ‘pushing’ the ad box too wide.

    Try placing the ad box in an area where there is no text and see if that fixes it. Then you’ll at least know that’s the problem. You can then get different code to place in your ad…maybe a horizontal box above the text.

    Thread Starter dymas

    (@dymas)

    Thanks Ghanshyamgadh,
    It really help with IE but problem on Firefox, but at least I learn something else on your code. But I need it to work for both browsers. Only if I know what ‘other coding’ you refer to.

    Revenuerocker, you are right. Unless I finally get this resolved, I will have to limit myself to use horizontal banner (no vertical and square banner.. sob..).
    Thanks

    ghanshyamgadhiya

    (@ghanshyamgadhiya)

    I think this must work.

    just put this code

    <?php
    $br = strtolower($_SERVER[‘HTTP_USER_AGENT’]); // what browser they use.

    if(ereg(“msie”, $br)) {
    echo “<div style=’float:right;’>”;
    } else {
    echo “<div>”;
    }
    ?>

    so when your site is open in IE than and only than div move to right side. other wise in firefox it just do nothing.
    I have checked, this browser detection script is worked. but if dont , you can easily find other script from net. just check this condition and put your div.

    Now you can use “vertical and square banner” ??

    Thread Starter dymas

    (@dymas)

    Ghanshyamgadh,
    Before I saw your latest post, I managed to solve it by experimenting with different themes.

    Thank you for bothering to help.

    ghanshyamgadhiya

    (@ghanshyamgadhiya)

    ok, you are always welcome.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Advertisement pushes down texts when viewed in internet explorer’ is closed to new replies.