Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Quick CSS question!

  • 05-08-2007 12:58PM
    #1
    Registered Users, Registered Users 2 Posts: 9,845 ✭✭✭


    I am using the following bit of code to adjust the opacity of the background of a div

    Code:
    filter: alpha(opacity=70);
    It works in IE but not in Firefox or Safari. Is there a way around this or is this exclusive to IE only?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    py2006 wrote:
    I am using the following bit of code to adjust the opacity of the background of a div

    Code:
    filter: alpha(opacity=70);
    It works in IE but not in Firefox or Safari. Is there a way around this or is this exclusive to IE only?

    Thanks


    style="filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70;" should do the trick


  • Registered Users, Registered Users 2 Posts: 9,845 ✭✭✭py2006


    forbairt wrote:
    style="filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70;" should do the trick

    Thats great! Thanks a million!


Advertisement