body opacity Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    body opacity

    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved body opacity

    Post by runawayhorses Wed Aug 08, 2012 8:49 pm

    On my forum I'm using the code below to make the forum semi transparent, is there a code I can use that will exclude the background of posts from being transparent? I want the background of the posts at full opacity 1.0 so it has a solid background with no transparency so the posts are easier to read.

    thanks, I use phpbb3

    Code:
    body {
    opacity:0.93;
    filter:alpha(opacity=93);
    }


    Last edited by runawayhorses on Thu Aug 09, 2012 3:54 pm; edited 1 time in total
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: body opacity

    Post by LGforum Thu Aug 09, 2012 3:12 pm

    This is one of the annoying things about opacity. All children of the element receive the same opacity.

    The posts, being inside the body, will stay transparent. Setting the posts opacity will not change it.

    I know, sucks.

    You'd have to make a DIV covering the entire page, set its z-index to stack it at the bottom ,and then make that transparent.
    ralqis
    ralqis
    Forumember


    Male Posts : 31
    Reputation : 0
    Language : Indonesian
    Location : Depok City

    Solved Re: body opacity

    Post by ralqis Thu Aug 09, 2012 3:16 pm

    to easy, default your CSS..
    and start to your creation :wouhou:
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: body opacity

    Post by runawayhorses Thu Aug 09, 2012 3:53 pm

    LGforum wrote:This is one of the annoying things about opacity. All children of the element receive the same opacity.

    The posts, being inside the body, will stay transparent. Setting the posts opacity will not change it.

    I know, sucks.

    You'd have to make a DIV covering the entire page, set its z-index to stack it at the bottom ,and then make that transparent.
    OK thanks LG. Its not really bad as you can see the opacity is only at 0.93 and the posts are still very readable, but I wanted to just eliminate the opacity altogether in the posts. If I had it at 0.6 it would certainly be a problem and I'd have to remove the opacity code altogether.

    I'll just leave it as is. thanks again LG.

    @ ralqis You make no sense whatsoever.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: body opacity

    Post by SLGray Thu Aug 09, 2012 4:13 pm

    Topic Solved & Locked



    body opacity Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.