Let the page frame transparent bottom aligned code _ experience Exchange
Source: Internet
Author: User
Make the Web page frame transparent
Browsers above IE5.5 and NN6 support the Allowtransparency method of the Frame,iframe object, and if the background color of an object is set to transparency, it inherits the attributes containing its container. We can use this feature to achieve transparent background on/off.
The code is as follows:
A.html is as follows:
<HTML><HEAD><TITLE></TITLE>
<meta http-equiv=content-type content= "text/html; charset=gb2312 ">
</HEAD>
<body style= "Background-color:transparent" >
<H1> Transparent Documents </H1>
<P> This iframe has no background color </P>
<p>body:<br><body style= "Background-color:transparent" ></P></BODY></HTML>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.