Mozilla

As well as opera, mozilla it is not too rich on effects. Receive a transparency we can as follows.



-moz-opacity: 0.5;


Depending on value-moz-opacity: (min=0, max=1) it is possible to observe a various degree osvetljonnosti. If value is close to zero the picture is maximum transparent, and, on the contrary, at increase in value of the given parameter the picture gets an initial kind.


In a result having disassembled all possible{probable} ways of realization of effect of a transparency and having studied compatibility of browsers, we can receive more or less universal way of creation of effects compatible with all browsers.

Let's place in style the following:



style =

" filter:alpha (opacity=50);/* IE 5.5 +*/

-moz-opacity: 0.5;/* Mozilla 1.6 and is lower */

-khtml-opacity: 0.5;/* Konqueror 3.1, Safari 1.1 */

opacity: 0.5;/* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2 +, Opera 9 */"


Thus you carry out effect of a transparency of a picture on half.



Use of the metadata (HTTP-EQUIV, NAME, REL, REV, BASE) at creation HTML of documents

META-tagi Have two possible{probable} attributes



- <META HTTP-EQUIV = "name" CONTENT = "contents">

- <META NAME = "name" CONTENT = "contents">


META-tagi Should be in heading of the HTML-document between <HEAD> and </HEAD> (it is especial important for the documents using frames).