/    Sign up×
Community /Pin to ProfileBookmark

Inherited Properties

if I set the Opacity of the BodyOuter class to 0.75 how can I remove the Opacity setting from the BodyContent class? e.g Opacity :none;

<div id=”BodyOuter”>

<div id=”BodyContent”>

</div>

</div>

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326Apr 15.2007 — Off hand I'd say you can't. Do you have a body background that you're trying to show? Give us a link and you'll get better recommendations.
Copy linkTweet thisAlerts:
@Nate1authorApr 15.2007 — I Don't have a URL thats accessible, Basically I want a non-transparent content block to be placed over a Transparent block which will show the background image in its borders. The Divs in Questions would be be the BodyBlock and BodyOuter, But the Opacity settings I have Placed in the declarations are what I would like they don't work. Any Thoughts?

Body {

}

.Back{

background-image: url(Wedding_Images/WeddingBackground2.gif);

background-repeat: no-repeat;

background-color: #FFFFFF;

background-attachment: scroll;

background-position: center;

}


#BodyOuter{

height:579px;

margin-left: 168px;

margin-top: 3px;

padding: .25em;

background-color: #459EC0;

}


#BodyBlock{


background-color: #FFF;

height: 97%;

margin-right: 5px;

margin-left: 5px;

margin-top: 5px;

margin-bottom: 5px;

padding: .1em;

}

<div id="Wrapper" style="width: 800px; margin: 10px auto 0;">

<div id="Header"></div>

<div id="LeftMenu"></div>

<div id="BodyOuter" style="opacity: .85;">

<div id="BodyBlock" style="opacity:1;">

<div id="BodyContent">
<p class="dropCap">

Content Goes Between these Brackets
</p>
</div>


</div>

</div>

#BodyContent {

color: #000;

font-family: arial;

font-weight: normal;

font-size: 12.5px;

}
×

Success!

Help @Nate1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...