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.

Graphics Forum


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



Reply
PNG in Background Image CSS for IE
Old 11-08-2006, 09:25 PM PNG in Background Image CSS for IE
Skilled Talker

Posts: 56
Name: Mike
Trades: 0
Has anyone fiugured out how to get IE 5.5 and 6 to see a Transparent PNG correctly as a BG Image in a CSS file...

Code:
#TB_window {
    position: absolute;
        background-image: url(popupBG.png); 
        background-repeat: no-repeat; 
        background-position: center; 
    z-index: 102;
    color:#000000;
    display:none;
    border: 1px solid #525252;
    text-align:left;
        overflow:  hidden;
}
I currently am using a gif, but it looks like crap!!!
__________________
Please visit my current site in progress to give comments or suggestions:
Please login or register to view this content. Registration is FREE
.
MandASystems is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-08-2006, 10:05 PM Re: PNG in Background Image CSS for IE
SHydroxide's Avatar
Skilled Talker

Posts: 74
Name: Steve
Location: Canuckistan
Trades: 0
Quote:
Originally Posted by MandASystems View Post
Has anyone fiugured out how to get IE 5.5 and 6 to see a Transparent PNG correctly as a BG Image in a CSS file...

Code:
#TB_window {
    position: absolute;
        background-image: url(popupBG.png); 
        background-repeat: no-repeat; 
        background-position: center; 
    z-index: 102;
    color:#000000;
    display:none;
    border: 1px solid #525252;
    text-align:left;
        overflow:  hidden;
}
I currently am using a gif, but it looks like crap!!!
If it's the background, why does it have to be transparent?
__________________
This is my edited bleeding signature.
SHydroxide is offline
Reply With Quote
View Public Profile Visit SHydroxide's homepage!
 
Old 11-09-2006, 12:00 AM Re: PNG in Background Image CSS for IE
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
This is NOT standards-compliant, but it does work:
Code:
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='popupBG.png');
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-09-2006, 02:31 AM Re: PNG in Background Image CSS for IE
Super Talker

Posts: 124
Name: Chris
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
This is NOT standards-compliant, but it does work:
Code:
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='popupBG.png');
That's the only thing that will make it work. unfortunately IE does not support alpha transparencies of png's (I dont even think IE7 beta supports it), why I do not know because the format is much better than gif and legal.
__________________
Chris - Trying to help others and learn myself!

Please login or register to view this content. Registration is FREE
ctess is offline
Reply With Quote
View Public Profile
 
Old 11-09-2006, 03:31 PM Re: PNG in Background Image CSS for IE
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
IE 7 DOES now support transparent PNGs
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PNG in Background Image CSS for IE
 

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.23513 seconds with 12 queries