Home  >  Article  >  Web Front-end  >  Make the web page frame transparent and bottom-aligned code_Experience exchange

Make the web page frame transparent and bottom-aligned code_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:06:321815browse

Make the web page frame transparent
Browsers above IE5.5 and NN6 support the allowTransparency method of the Frame and Iframe objects. If the background color of an object is set to Transparency, it will inherit the characteristics of the container containing it. We can use this feature to turn on/off the transparent background.
The code is as follows:
a.html is as follows:





Transparent document


This IFRAME has no background color


BODY

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn