/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] background-color not showing?

Hello,

I have been trying to figure this out, but have been unsuccessful. I am using a modalPopupExtender, but when the popup comes up, my background is still active. I suspect it has to be something in my css file, but would appreciate some help on this. I suspect it is the css causing this, but haven’t been able to figure out why? Float maybe?

Here is the code for the MPE:

<cc1:ModalPopupExtender ID=”MPE1″ runat=”server”
TargetControlID=”btnShowModalPop”
PopupControlID=”divPop”
BackgroundCssClass=”modalBackground”
PopupDragHandleControlID=”panelDragHandle”
DropShadow=”true”/>

Here is the code in my css file:

.modalBackground {
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}

.modalPop {
background-color:Gray;
border-width:3px;
border-style:solid;
border-color:Black;
padding:0;
width:250px;
color:White;

}

.drag
{
background-color:#ff0000;
cursor: move;
border: solid 2px white;

}

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@webguy1977authorOct 28.2008 — I found the issue by referencing a blank css file and slowly adding statements in. It was a combination of the following which prevented the backgroundcssclass to not be shown propertly:

#body div div { background: url(images/body_tr.gif) top right no-repeat; }

#body div div div { background: url(images/body_bl.gif) bottom left no-repeat; }

#body div div div div{ background: url(images/body_br.gif) bottom right no-repeat; }


#body div div div { background: url(images/body_bg.gif) bottom left no-repeat; }

#body div div div div { background: url(images/body_bg.gif) bottom right no-repeat; }


#body .inner div { background: none; }

I ended up add these bg imgs in my master page div tags directly and is working fine.....for now ?
×

Success!

Help @webguy1977 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.18,
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,
)...