Having trouble in Dreamweaver i keep seeing a gray background around my logo when i preview my site in explore?
anonymous
2008-11-23 12:42:30 UTC
When i view my site in Firefox everything appears normal but not in Explorer a grey box appears. I'm using PNG for the transparency i need in my logo. I think it may have something to do with the div tag and if it might be the settings.
Four answers:
Some Guy
2008-11-23 15:44:31 UTC
It's got neither to do with your DIVs, nor with IE not being W3C compliant.
PNGs (although they've been around for a while) are, for a couple of browser developers still considered a new-fangled whachamacallit, not to be regarded with any amount of seriousness... Microsoft only caught on to the significance of the PNG format with IE7, meaning that the previous versions' support is somewhat lacking, to say the best.
IE6 and older (as well as the older Netscape and Opera versions) have no issue showing PNGs... but they cannot recognize the alpha-transparency which makes PNGs so darn useful to us web developers.
Because of this, IE will try its darndest to show the PNG, but substitutes the transparent part with a default color, which is usually standard gray (RGB(128, 128, 128)).
There are several ways to work around this:
1. Use a conditional style sheet to give IE a different logo, using a GIF or an image without transparency. This requires a little bit of a hack, but still remains valid HTML and doesn't rely on JavaScript.
In your web page's HEAD section, place this:
This will make sure that only IE 6 and older will make a call to the separate style sheet.
In the file iesucks.css, simply assign a non-transparant PNG, JPG or GIF to replace the actual logo.
The other method:
2. Use filters, JavaScript or .htc files to "add" support for alpha transparency to IE6 (not lower - IE4 and older will still show the grey box, making these methods somewhat of a half-a55ed attempt to make do). If you insist, check out this page: http://24ways.org/2007/supersleight-transparent-png-in-ie6 to get you on your way.
?
2016-05-24 23:51:59 UTC
This is mostly a response to Leesha..but it should give some insight, I believe.. I'm not sure what kind of education you've received, Leesha...but there is no set role for women and men. The idea of gender is a social construct. You're being very narrow minded when you think of gender.... you think of the gender roles that were present around you while growing up. Those were the gender roles of your culture. However, there are cultures out there that you obviously haven't heard of, ones in which the women do all the work. The women bring home the bacon, and the women run the farms and do the manual labor. There is no set role for men and women. The idea of feminism promotes the idea that women should not be subservient because they are not lesser beings..they are not slaves...they are not inferior to men in any way. I'm sorry you've been educated to think they are. And I'm sorry that you obviously can't think for yourself. Anyway, as for the person who asked this question, you can always try it out. However, I don't think what she needs is someone to control her. She obviously knows she has a problem, but she's avoiding it. There's a deeper issue at hand there. You need to figure out why she's not taking any steps towards fixing these issues. You may want to consider counseling. Or figure out why it is that she engages in this passive aggressive spending behavior, and try to work on whatever the cause is. I wish you the best of luck, and I hope you find a relationship style that fits you best. :)
anonymous
2008-11-23 19:18:38 UTC
IE really sucks where it comes to PNG transparency. PNG is a better image format than GIFs when it comes to transparency as it allows use of more colors. GIFs are limited to 256 colors only. IE8 is supoose to vercome this problem, but it is yet a compliant browser.
There is a work around that allows PNGs to work with IE:
It might have to do with IE not being W3C-compliant. http://www.positioniseverything.net/ You'll have to look around, but I think he has one article about transparency.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.