Css+div table background Transparent content opaque

Source: Internet
Author: User

  <style type= "TEXT/CSS"
/*---dw8 www. DW8. ORG---*/
<!--
Body {
     background-color: #0066FF;
}
#div1
{
     position:absolute
/*---defines that the layer is not transparent and transparent with the table
so that you can make the table transparent when the table's
Content and pictures are not followed transparently---*/
}
Table
{
Background-color: #FFFFFF;
Filter:alpha (opacity=50,style=0);
  /*---Define transparency, and fade style
   opacity for transparency, greater value transparency smaller
   style is a transparent style
   0 Normal transparency
   1 fade from left to right
   2 circular image on both sides fade
   3 star gradient fade
   default does not set the style parameter to 0
   This effect can also be    on the picture;
  ---*/
width:300
height:300;
  /*--- Be sure to define width and height---*/
}

</style>
<body> 
<table bgcolor= #0000FF style= Display: "Id=" Tab1 "
   <tr>
     <td><div id=" Div1 "
       the contents of the <P>DIV layer </p>
       <p></p> ";
     </div></td>
   </tr>
</table>
</body>

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.