今天做网站的时候,用到了iframe,以前没怎么在意,今天发现在ff下iframe的背景为父容器的背景,也即是透明的,而在ie下,则为白色.
在iframe里加上allowtransparency="true" 即将背景设为透明了.
转载于:https://www.cnblogs.com/longer/archive/2007/12/04/982632.html
转载于:https://www.cnblogs.com/longer/archive/2007/12/04/982632.html