2014-03-29 46 views
0

問題是我有一個youtube iframe和一個facebook iframe for facebook的like box。兩個地方都展示了類似的盒子。我該如何解決?Facebook like box正在覆蓋一個youtube iframe

enter image description here

下面是HTML的網頁源代碼就是顯示出來:

<div class="wpb_raw_code wpb_content_element wpb_raw_html"> 
    <div class="wpb_wrapper"> 
     <iframe width="420" height="315" src="//www.youtube.com/embed/YerNjFjBrOo" frameborder="0" allowfullscreen></iframe> 
    </div> 
</div> 
    </div> 
</div> 

<div class="vc_span4 wpb_column column_container"> 
    <div class="wpb_wrapper"> 
     <div class="a13-separator wpb_content_element separator_align_center separator_align_center single_dots"><h3 style="font-weight:normal;"><span>Cost Effective and Low Maintenance</span></h3> 
<div></div></div> 
<div class="a13-separator full_width empty" style="margin-top:10px;"><div></div><br class="clear" /></div> 

<div class="wpb_text_column wpb_content_element "> 
    <div class="wpb_wrapper"> 
     <p>Concrete borders are a cost effective, low maintenance way to create permanent finishing touches to your lawn, reducing time consuming yard work and increasing property values. The various curb styles that Curb-It, Inc. offers will reduce edging, trimming and time spent maintaining the landscaping. Concrete curbs are an attractive and durable investment in your property that will last for years to come.</p> 

    </div> 
</div> 
<div class="wpb_raw_code wpb_content_element wpb_raw_html"> 
    <div class="wpb_wrapper"> 
     <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FCurbit&amp;width=300&amp;height=558&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=true&amp;show_border=false&amp;appId=116642065097325" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:558px;" allowTransparency="true"></iframe> 
    </div> 
</div> 
    </div> 
</div> 
+0

您可以創建一個小提琴或將我們鏈接到您的實時頁面,我想要一些檢查 –

+0

我無法在小提琴中複製這個。最後,我回到了YouTube解決問題的舊實現方法。 – mcphersonjr

回答

0

我從來沒有發現一個原因,但要解決這個問題的解決方案是恢復到YouTube的舊版嵌入代碼而不是使用iFrame。