Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Central / Midwest USA

    Question Layer Mask for Rounded edges?

    Okay. I have an image that I want rounded edges on that rests within a DIV. Is it possible to code some sort of layer mask that will take the image and add rounded transparent corners to it? similar to how a "layer mask" would in Photoshop?

    .-=={[(' Sitedesigner ')]}==-.

    ~Entrepreneur at heart~ Pm me.

  2. #2
    Join Date
    Oct 2002
    State of Disbelief
    Even if possible, it sounds far more complicated to code than to simply do in Photoshop. That being said, why not make an image with the look you want (bg color at the edges, transparent in the center) and have that as the image in the div, with the other image as the background of the div?
    Use the "mask" image as an overlay?
    Having problems, or maybe questions about WHT? Head over to the help desk!

  3. #3
    i'll suggest you to make the round corners image in photoshop and then save it as .png so that it will have transparent background and by using CSS you can apply class to the div's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts