HTML code
<table cellspacing=0 cellpadding=0 width= "100%" Border=0><tbody><tr><td class=khdxz_intro> <P> This reporting period (2017/12/2-2017/12/5) seaborne coal freight has been re-spiked after a period of shock and reached its highest level since the July 10, 2012 index was released. December 5, the seaborne coal freight index OCFI reported 1530.24 points, the period of 2.66% upstream. In the molecular index, the East China Line index reported 1620.05 points, the period of 3.06% upstream, the South China Line index 1229.57 points, the period of 0.93% upstream. </P></TD></TR></TBODY></TABLE>
CSS Code
. khdxz_intro { width:100%; Background:rgba (0,0,0,0.5); / * IE9 The following browsers only write this method will cause the background to completely disappear * / position:static; zoom:1; padding:30px; Color: #fff; font-size:14px; Font-family: "Microsoft Jas Black"; line-height:25px;} @media \0screen\,screen\9 {/* only supports IE6, 7, 8 */.khdxz_intro{background: #000; Filter:alpha (OPACITY=50); position:static; / * IE6, 7, 8 can only set Position:static (default property), otherwise it will cause child elements to inherit alpha value * /*zoom:1; /* Activate IE6, 7 's Haslayout property, and let it read Alpha */ } . Khdxz_intro p{position:relative; /* Set child elements as relative positioning, allowing child elements to not inherit alpha values * /}}. Khdxz_intro p{#fff;}
IE6/7/8-compatible CSS for background transparency