Sunday, December 16, 2012

Re: [opacity / transparency] [best practice for IE 8 compatibility]

"Doesn't work" as in "the style's not there, as if I write this code" or "the style's there but IE behaves as if it weren't"?
In the former case, it'd clearly be a bug; in the later I'd rather look at IE (trying things in the dev tools until it works, then applying those changes back to the GWT code)

On Monday, December 17, 2012 1:20:10 AM UTC+1, Axel REGNOULT wrote:
Hello,

I have a lot of dificulties to have a tranprency effect in IE 8 (nothing of the above actually works).

I have tried a lot, such as :

.myTransparency {
opacity: 0.7 !important;
-ms-filter: literal("progid:DXImageTransform.Microsoft.Alpha(Opacity=70)") !important;
filter: literal("alpha(opacity = 70)") !important;
-moz-opacity: 0.7 !important;}

tooltip_content.addStyleName(NR.NRES_INST.N_CSS().myTransparency());
tooltip_content.getElement().getStyle().setOpacity(0.7);
tooltip_content.getElement().setPropertyString("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)");
tooltip_content.getElement().setPropertyString("filter", "alpha(opacity=70)");



Could you help me please ? Thanks you,

-- Axel


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/eXt70O9Y_6gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate