color: transparent
is working in mozilla, but it's not working in IE. what else I can use?
I want to sent font color to transparent.
color: transparent
is working in mozilla, but it's not working in IE. what else I can use?
I want to sent font color to transparent.
well - browsers interpret many things differently... the ie is the worst case in this scenario... you will see ^^ even different versions of the same browser will react differently!!! so it is important that you tell us, which exact version of ie you mean!
in your case: try
filter: alpha(opacity=60);
use ie filters http://www.ssi-developer.net/css/visual-filters.shtml
You could try the following:
color: rgba(255, 255, 255, 0.5);
0.5 being the opacity.
I would use visibility: hidden
. The element will take up the same space, but it will be invisible. visibility
is supported in IE 5+ as well as all major browsers.
If your background is solid color, you can set the font color same as the background-color.
You can use this technique
http://www.expression-web-designer-help.com/expression_web_helpTrans.htm
set transparency according to your needs
.transparent_class {
/* IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
/* IE 5-7 */
filter: alpha(opacity=50);
/* Netscape */
-moz-opacity: 0.5;
/* Safari 1.x */
-khtml-opacity: 0.5;
/* Good browsers */
opacity: 0.5;