Code:
<img src="path_to_image.jpg" width="150" height="113" alt="klematis" style="-moz-opacity:0.4;filter:alpha(opacity=40) />
Trong đó: -moz-opacity:0.4 thực thi trên FF filter:alpha(opacity=40) trên IE
Chú ý: Trên IE filter:alpha(opacity=x), x có giá trị 0-100 và x càng nhỏ thì độ transparent càng cao Trên FF (-moz-opacity), x có giá trị 0.0 - 1.0, x càng nhỏ thì độ transparent càng cao
Theo phpbasic
"Tìm hiểu Vũ trụ mênh mông huyền bí" www.bachkhoatrithuc.vn
|