'allowtransparency' Example : allowtransparency « HTML Attributes Reference « HTML CSS Reference






'allowtransparency' Example

    
<HTML>
<Title>Example For allowtransparency</Title>
<BODY>
<iframe src="http://www.java2s.com" allowTransparency="true" 
        style="width:40%;background-color:transparent">
</iframe>
<iframe src="http://www.java2s.com" style="width: 40%; background-color: green">
</iframe>
<iframe src="http://www.java2s.com" 
        allowTransparency="false" 
        style='width:40%;background-color:white'>
</iframe>
<iframe src="http://www.java2s.com" 
        allowTransparency ="true" 
        style="width:40%; background-color:lightgreen">
</iframe>
</BODY>
</HTML>
    
    
      
      








Related examples in the same category

1.'allowtransparency' Syntax and Note
2.allowtransparency is applied to