473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Adding a png with transparent background to a Image button

Hello !
I need some help with transparent png:s on my site. Currently i'm using
the
FILTER:PROGID:DXImageTransform.Microsoft.AlphaImag eLoader(src='"+url+"',sizingMethod='scale')
method in a htc app I found on the net , this workson all of my images
except for Image buttons. none of the imagebuttons render correctly
even if I apply the filter directly on the imagebutton element.

I'm clueless here :(

Cheers!
/KrippZ

Jun 19 '06 #1
4 4318
use GIF...

FILTER properties are only valid for IE... do you really wanna build a web
site only valid for 1 unique Browser???

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
<Kr****@gmail.com> escreveu na mensagem
news:11**********************@h76g2000cwa.googlegr oups.com...
Hello !
I need some help with transparent png:s on my site. Currently i'm using
the
FILTER:PROGID:DXImageTransform.Microsoft.AlphaImag eLoader(src='"+url+"',sizingMethod='scale')
method in a htc app I found on the net , this workson all of my images
except for Image buttons. none of the imagebuttons render correctly
even if I apply the filter directly on the imagebutton element.

I'm clueless here :(

Cheers!
/KrippZ

Jun 19 '06 #2
Thx for the reply :)

I solved my issues, gifs are nice but far to lacking in design. I ve
tested the site in FF, Opera and IE(6.0 ->7.0 beta2) and it works.

Cheers
/KrippZ

Bruno Alexandre skrev:
use GIF...

FILTER properties are only valid for IE... do you really wanna build a web
site only valid for 1 unique Browser???

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
<Kr****@gmail.com> escreveu na mensagem
news:11**********************@h76g2000cwa.googlegr oups.com...
Hello !
I need some help with transparent png:s on my site. Currently i'm using
the
FILTER:PROGID:DXImageTransform.Microsoft.AlphaImag eLoader(src='"+url+"',sizingMethod='scale')
method in a htc app I found on the net , this workson all of my images
except for Image buttons. none of the imagebuttons render correctly
even if I apply the filter directly on the imagebutton element.

I'm clueless here :(

Cheers!
/KrippZ


Jun 19 '06 #3
Kr****@gmail.com wrote:
Thx for the reply :)

I solved my issues, gifs are nice but far to lacking in design. I ve
tested the site in FF, Opera and IE(6.0 ->7.0 beta2) and it works.


How did you solve the problem?
Jun 20 '06 #4

Oh I used the filter htc but I call it on element level and i did
modify it so it handles the INPUT tag, (which the asp:imagebutton is).
Nik Coughlin skrev:
Kr****@gmail.com wrote:
Thx for the reply :)

I solved my issues, gifs are nice but far to lacking in design. I ve
tested the site in FF, Opera and IE(6.0 ->7.0 beta2) and it works.


How did you solve the problem?


Jun 20 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Thomas Wieser | last post by:
Hi, my problem: I have some tables with transparent backgrounds, which are changed in colours within a JavaScript DOM function to have a roll-over effect. Now, i can't get them back...
0
by: Andrés Giraldo | last post by:
Hi! I'm adding an asp button to a datagrid on the ItemDataBound event, when the user clicks on this button, I basically remove the button and create other 2 buttons... my problem is.. the 2 last...
8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
4
by: Andre Nogueira | last post by:
Hi there. I have one question... How can I create a bitmap (programmatically), paint it to a picture box and have a transparent background? I don't know what will be below the picturebox because...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
3
by: b2bwild | last post by:
Hi everyone :). I quite new in Flash 8 professional edition and I'm trying to Publish a Gif / Png image. I've selected the "Transparent" option in the Publish Settings for Gif but when I publish...
3
by: NickP | last post by:
Hi there, I have a usercontrol that inherits from Windows.Forms.Button. In the OnCreateControl method I set the style of the control so that it supports transparent backcolor and set the...
0
by: MasterOfTheDark | last post by:
This one's a hairy one to explain. What I've got is a class called "VistaGroupBox" that I put some nice-looking Vista-style gradients in the background and made to look like the ribbon categories...
1
by: ur4ikk | last post by:
Hi, I try to show a background image on the button control. A background of an image should be transparent (should get the control color). Unfortunately, I can't find appropriate control...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.