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.

body opacity

4 posters

Go down

Solved body opacity

Post by runawayhorses 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
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: body opacity

Post by LGforum 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
LGforum
Hyperactive

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

Back to top Go down

Solved Re: body opacity

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

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

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

Back to top Go down

Solved Re: body opacity

Post by runawayhorses 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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: body opacity

Post by SLGray August 9th 2012, 11: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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51572
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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