Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6670249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:14:46+00:00 2026-05-26T03:14:46+00:00

I have a PNG that has a drop shadow affect on it…Since I have

  • 0

I have a PNG that has a drop shadow affect on it…Since I have to place the image in my CSS as a block, rather than the rounded rectangle that it is – how can I maintain that effect with the shadow working with the non-white background?

Right now I have a simple stroke and drop shadow effect to it per here:

https://i.stack.imgur.com/AT52R.png

I have read about shell commands, but is there a CSS property that will allow me to allow my block to look like this? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:14:46+00:00Added an answer on May 26, 2026 at 3:14 am

    But wait! You can do this entirely without images. Example here. It’s not completely cross browser (IE < 9 won’t handle rounded corners or box shadow), but it’s very close to what you want. Just play around with some values to fine tune it.

    div
    {
        width: 300px;
        height: 100px;
        border: 3px solid #0088ff;
        border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        padding: 10px;
        box-shadow: 5px 5px 5px 5px #888;
        -ms-box-shadow: 5px 5px 5px 5px #888;
        -moz-box-shadow: 5px 5px 5px 5px #888;
        -webkit-box-shadow: 5px 5px 5px 5px #888;
    }
    

    In terms of IE compatibility, there’s a good solution here. There are more comprehensive docs on the site, but essentially you download pie.htc, put it in your root folder and add behavior: url(pie.htc) in your CSS file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PNG image that has an unsupported bitmap graphics context pixel format.
I have an image (PNG file) that has an alpha channel that is set
I have this red PNG image that has variable transparency, but I need to
I have a sprite loaded from a PNG that has an alpha channel. The
I have a folder on my remote server that has a few .png files
I have a folder in my WPF app Images that has several .png files
I have a Component that has a specific background image. The code looks like:
I have a logo that I saved as a PNG in photoshop that has
I am trying to load and display a .png image that has transparency in
I have created a PNG image that is 200 DPI, and perfectly sized for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.