1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Protection Error?

Discussion in 'Troubleshooting and Problems' started by AndreaMarucci, Jun 6, 2011.

  1. AndreaMarucci

    AndreaMarucci Well-Known Member

    I would like to put this in template ad_sidebar_bottom but when I load the page I get a protection error. Maybe for the iframe?

    Any suggestion to put this there without having errors?

    Code:
    <div class="section">
        <div class="secondaryContent partenaire" id="partenaires">
            <h3>Meteo</h3>
              <div class="pairsJustified">
                <iframe id="wdgtmeteoframe" src="http://meteo.sky.it/widget/meteo/widget.html" width="100%" height="344px" scrolling="no" style="border: 0px" frameborder="0"/>
              </div>
        </div>
    </div>
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try closing the iframe using a separate tag.

    Code:
    <div class="section">
        <div class="secondaryContent partenaire" id="partenaires">
            <h3>Meteo</h3>
              <div class="pairsJustified">
                <iframe id="wdgtmeteoframe" src="http://meteo.sky.it/widget/meteo/widget.html" width="100%" height="344px" scrolling="no" style="border: 0px" frameborder="0">
    </iframe>
              </div>
        </div>
    </div>
     
  3. AndreaMarucci

    AndreaMarucci Well-Known Member

    It works. Thanks Brogan. I've not seen that theresn't any close iframe tag...
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    There was in your example, it was just a self closing tag, hence the /> at the end.
     

Share This Page