Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Hello everyone,
I have the css code for shadow effect and rounded corners for body area of my community
#xg_body {
border:3px outset #666666; border-style:double;
-moz-border-radius: 15px;
-moz-box-shadow: 1px 1px 15px #000;
-webkit-box-shadow: 1px 1px 15px #000;
box-shadow: 1px 1px 15px #000;
}
BUT it only shows in Firefox and not IE. Is there a better code i can use that shows in both browsers? After all many ppl still use IE
Tags:
Unfortunately, like you mentioned, this shadow will not work in IE. The other way is by using a shadow image. But, each case is unique. It depends on the width of the module.
Best,
Jen
oh man :( its not for the modules just for the entire body part
thank you :)
I understand. And the safest bet is to create a custom image/shadow.
However, I do have this little bit of code that you may be able to tweak. It will work differently in different browsers:
#xg_body {
-moz-box-shadow: 3px 3px 14px #000;
-webkit-box-shadow: 3px 3px 4px #000;
box-shadow: 3px 3px 4px #000;
/* For IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
/* For IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}
oh I see I just added your code and the shadow is currently only on the right side of the body part. Was it meant to be like that? I dont see an option to change it so that left and top are showing the shadow too in IE
in any way thank you so much though!!!!
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 8 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Predestined by God Feb 1, 2015. 0 Replies 0 Favorites
Started by IDC. Last reply by JenSocial Oct 27, 2012. 1 Reply 1 Favorite
Started by Dr. Husky. Last reply by Dr. Husky Aug 18, 2012. 5 Replies 1 Favorite
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.