Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Alpha Transparency, IE and headaches...
Old 04-07-2006, 11:31 AM Alpha Transparency, IE and headaches...
Junior Talker

Posts: 1
Trades: 0
Hi all,

I'm in the process of creating a blog with png's. Well, I had no idea of the problems that IE has caused developers for ages. Here is my test blog:

http://mikestv.blogspot.com/ ps. the background is big, may take a few extra seconds to load.

In Firefox, my paper-like post bodys look good against the background. In good 'ol IE, I get a white square around them. I've read of some work arounds, but I'm not familiar enough with html to just start fixing this. Could someone as an example take one of my images and apply some sort of code to it so I could see if alpha transparency is possible in IE, and if so, how can I acheive it?

Thanks in advance

mike
HelmutBlack is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-07-2006, 07:34 PM Re: Alpha Transparency, IE and headaches...
Average Talker

Posts: 15
Trades: 0
One way is to create an empty DIV in the HTML instead of an IMG where you want the image to be eg.
Code:
<div id="seethru"></div>
Then in your CSS file, set the size of the DIV to the required image size, set the background to your PNG image (for proper browsers), then set the AlphaImageLoader filter for IE6 to use (other browsers should ignore that bit).


Code:
 
#seethru {
width:150px;
height:30px;
background: url(images/your-image.png);
_background: 0;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/your-image.png');}


Hope that helps!
__________________
Paul

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Last edited by Paul_F; 04-07-2006 at 07:37 PM..
Paul_F is offline
Reply With Quote
View Public Profile Visit Paul_F's homepage!
 
Reply     « Reply to Alpha Transparency, IE and headaches...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09922 seconds with 12 queries