/*Css*/. waps{BackgroundURL (07158.bmp) no-repeat top center fixed;Width1004px;Text-align:CenterLine-height:28px;Font-size:12px;Font-family:Arial, Helvetica, Sans-serif;}. con{Text-align:LeftWidth500px;Height400px;Margin0px auto; Padding:100px 50px; Background:rgba (255, 255, 255, 0.8) None repeat scroll 0 0!important;/* achieve FF background transparent, text opaque */alpha (opacity=80); Background: #fff; /* implement IE background transparent */}.con p{ Position:relative;} /* implement IE text opaque */
/*HTML*/
<Body><DivClass= "WAPs" <div class= "con" > Span style= "color: #0000ff;" ><p>css to achieve background transparency, Text opaque (browser compatible) CSS for background transparency </p > </div></div>< Span style= "color: #0000ff;" ></body>
CSS implementation transparent background, text opaque (browser compatible) (GO)