Log in

View Full Version : css problem or image problem



redice
10-31-2006, 01:15 PM
Hi,

I am working on my own website, http://www.gatewayitsolutions.net
when i preview the site in firefox or even IE the layout is ok, but
when viewed in IE the image's transparent section is covered with a
luminous blue.
Does anyone have an idea on why this is so?

Please advise

Redice

ItsMeOnly
10-31-2006, 05:36 PM
because IEs before 7 didn't support PNG RGBA transparency except wrapping filter over it, or reducing PNG to indexed (256 color) palette- like in gif.

BTW, you use XHTML 1.0 Strict, you shouldn't, since serving it as text/html breaks the reason it's for (the last "text/html permittable" XHTML was 1.0 Transitional).

redice
10-31-2006, 06:12 PM
BTW, you use XHTML 1.0 Strict, you shouldn't, since serving it as text/html breaks the reason it's for (the last "text/html permittable" XHTML was 1.0 Transitional).

Thanks mate, am abit lost with that, kindly explain

Twey
10-31-2006, 07:33 PM
XHTML is unsupported by IE. That is to say, if you send valid XHTML as application/xhtml+xml (the correct MIME type for XHTML), IE will ask the user what to do with it and treat it as a download. A common "workaround" for this is to send it as text/html. However, this has many problems (http://www.hixie.ch/advocacy/xhtml), the greatest of which is that IE will treat the content as malformed HTML, not XHTML, and so mitigate all the possible advantages of using XHTML for users of that browser, which (alas) are likely to comprise a large portion of your user base. As such, there are really no advantages and many disadvantages to using XHTML at the moment. Until those are resolved, I strongly suggest you stick to HTML 4.01 Strict.

redice
11-04-2006, 08:44 AM
XHTML is unsupported by IE. That is to say, if you send valid XHTML as application/xhtml+xml (the correct MIME type for XHTML), IE will ask the user what to do with it and treat it as a download. A common "workaround" for this is to send it as text/html. However, this has many problems (http://www.hixie.ch/advocacy/xhtml), the greatest of which is that IE will treat the content as malformed HTML, not XHTML, and so mitigate all the possible advantages of using XHTML for users of that browser, which (alas) are likely to comprise a large portion of your user base. As such, there are really no advantages and many disadvantages to using XHTML at the moment. Until those are resolved, I strongly suggest you stick to HTML 4.01 Strict.

USELESS IE
Thanks alot Twey :D

waynep
11-07-2006, 11:04 AM
pngs and ie suck ! its like microsoft dont want us to make decent websites . btw the layout of your site is a bit choppy in safari on the mac if your interested.