Image control transparent

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

armin_kessler
Ebase User
Posts: 27
Joined: Sun Jan 08, 2012 2:39 am

Image control transparent

#1

Postby armin_kessler » Thu Mar 22, 2012 8:23 pm

It's posible to set the background of a Image control
to transparent ?

Thanks all Armin
0 x
Armin Kessler

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#2

Postby Wai » Mon Mar 26, 2012 8:44 am

Hi

Not sure what you are trying to achieve, but you would normally set the transparency on the actual image itself before you add it to an image control.

An image control represents HTML IMG tag so you can use CSS to apply Opacity/transparency effect to the image like:

<style>
img{
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
</style>

But this is for the whole image and not the image background.
0 x


Who is online

Users browsing this forum: No registered users and 131 guests