The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

body opacity

View previous topic View next topic Go down

Solved body opacity

Post by runawayhorses on August 9th 2012, 3:49 am

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 August 9th 2012, 10:54 pm; edited 1 time in total

runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: body opacity

Post by LGforum on August 9th 2012, 10: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.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: body opacity

Post by ralqis on August 9th 2012, 10:16 pm

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

ralqis
Forumember

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

Back to top Go down

Solved Re: body opacity

Post by runawayhorses on August 9th 2012, 10: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.

runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: body opacity

Post by SLGray on August 9th 2012, 11:13 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum