Search code examples
c#asp.netbackgroundwebusercontrol

Make web user control background transparent


Anyone who knows how to remove or make the background of a webuser control transparent or at least make the background corners same as my rounded border.

enter image description here

Thanks in advance


Solution

  • If you're using an image, convert to a .png file so you can cut out white parts and make it transparent.

    If you're using a div, do what @cracker_chan says, border-radius:4px;