Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

style=""filter:alpha(opacity=30)""  type css directive in non ie browsers

Posted on 2011-09-02
3
Medium Priority
?
469 Views
Last Modified: 2012-05-12
Is there some way to replicate the functionality that a:

 style=""filter:alpha(opacity=30)""

has in IE on all browsers? (e.g. safari, firefox, etc...) I'm working in a project that has images that show and depending on conditions will add this to teh <img> tag, but it only works on ie.
0
Comment
Question by:Javier_Arroyo
3 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 2000 total points
ID: 36474986
You should be able to just do:

opacity:0.3;
0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 36480436
0
 

Author Comment

by:Javier_Arroyo
ID: 36488790
LZ1, thanks, although that would then not work in ie, I applied as follows and it seems to work on all browsers now:

style="opacity:0.3;filter:alpha(opacity=30);"
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question