Iframes are forced to be used because using iframes will bring more problems, and some browsers can set iframes to block them as ads. I used iframes in a recent work content. The problem I encountered at the beginning was the problem of iframes being highly adaptable. This problem was found in the blog of the word-of-mouth.com ued team. Later, I encountered an iframe transparent problem. Usually the background color of the iframe will be white, and there may be different colors under different browsers. If the main page has an overall background color or background picture A white block will appear in the iframe area, which is inconsistent with the main page, which requires the iframe to be transparent Search for transparent iframes found solution <iframe src="./ads_top_tian.html" allowtransparency="true" style="background-color=transparent" title="test" frameborder="0" width="470" height="308" scrolling="no" >/iframe>Of course, the premise is that no color is set in the iframe page.