让iframe透明显示:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>父页面</title> </head> <body bgcolor="#FF0000"> <iframe src="index.htm" allowTransparency="true"></iframe> </body> </html>
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>子页面</title> <style type="text/css"> body { background-color: transparent; } </style> </head> <body> </body> </html> |