IFrame increased my page width (3 posts)

  1. dave925
    Posted 9 years ago #

    I added my Amazon bookstore into the main, central column using an IFrame. Everything appears OK, except it's increased the width of my overall blog by the width of my right sidebar. I'm not sure where to go to fix this and remove the extra spacing that's been added. I'm using the andreas09 template. Any tips would be appreciated.


    I've already done some searching on the topic, and didn't see someone with this particular issue (at least written in a way I could understand). Thanks in advance!

  2. dave925
    Posted 9 years ago #

    I've figured out the IFrame is not the problem, but rather some text ads I have running atop the main index page (and other pages). It seems as though it's pushing to the right a sliver off the right sidebar, and as a result, extending the page width (and it's associated dark grey bg color).

    Does anyone know how I can correct this formatting issue??

  3. dave925
    Posted 9 years ago #

    I fixed it! If anyone uses Text Link Ads, then the fix to the problem I wrote about above is to adjust the width in the style tag of the code you get from TLA. I dropped it from 100% to 65% and the problem was solved.

    echo "\n<ul style=\"list-style: none; margin: 0; border: 0px; border-spacing: 0px; background-color: #F0F0F0; padding: 0; width: 65%; overflow: hidden;\">\n";

Topic Closed

This topic has been closed to new replies.

About this Topic