[help] Browser Compatibility

If you look at my new site layout if Firefox or Safari, it looks cool. If you look at it in IE, it looks like crap :mad: . Any suggestions? Specifically, is there a way to make a certain image set come up based on which browser is being used?

Site Layout: Click here

Thanks,

liquidplasmaflow

#221455

The problem you've got is that IE can't natively render PNG images' alpha layer, without using a proprietary CSS extension to make it load the PNG as an ActiveX component...

This page has a fairly decent explanation of the situation, the CSS extension to which I refer, and a PHP alternative.

#221476

Ah, I've been wondering why IE has been displaying A-S user avatars with that light blue background- now I know!

Some people, myself included, have blocked ActiveX, so the correct transparency image wouldn't display at all.

Sadly, this is what the Browser Wars are- no one knows what type of browser to code for/browsers interpret pages differently.

Perhaps you should state somewhere on the page, if your target audience would most likely use IE, that it is best viewed in Firefox (or Opera, if it doesn't suffer this bug/whatever IE does). Note that this is NOT a proper workaround, though.

-nightcrawker1089

#221482

Thanks for the replys, folks. I found a nice little JavaScript that does the trick.

Old Site Layout

New Site Layout

The only issue I have is that with IE I seem to have a table border issue. See the new layout to see what I mean.

P.S. The layout still looks OK under Firefox.

#221521

and what javascript might that be?

#222727

Can I just add the following to my earlier comment:

Good god the tables and invalid HTML! :confused:

At least try to make your HTML validate as 4.01 Transitional - it's really not that hard.

Oh, and add a bloody doctype!

#222820

Haha, that's Stevie, always ranting about HTML this, or doctype that :).

I just want to say that I previously referred to myself as nightcrawker1089 - that was a TYPO! It should read nightcrawler1089, with an l.

That's all, and thanks for the link to the JS script. (Javascript script seems a bit repetitive, doesn't it?).

-NC

(NC is definitely safer in terms of typos.)

#222989