Forums
View unanswered posts | View active topics It is currently Fri Dec 15, 2017 2:08 am



Reply to topic  [ 1 post ] 
 CSS3PIE box-shadow issue on popups with the same classnames 
Author Message

Joined: Wed Sep 28, 2011 12:44 am
Posts: 1
Post CSS3PIE box-shadow issue on popups with the same classnames
Web page uses CSS3PIE to style popups. Popups made dynamically with jQuery. Popups have class "spPopup" and behavior applies to .spPopup selector via CSS. The first appearing popup displays as it should - with background and shadow. The second popup appears without background and shadow even though it is given z-index incremented by 2 in order css3pie container to get in stack.

Code:
.spPopup {
  background:#fff;
  padding:15px;
  position:absolute;
  z-index:1000;
  box-shadow:0px 4px 7px #666666;
  -moz-box-shadow:0px 4px 7px #666666;
  -webkit-box-shadow:0px 4px 7px #666666;
  behavior:url(PIE.htc);
}


Position relative fixes the problem but it's inappropriate for popup.


Wed Sep 28, 2011 12:46 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.