Archive for the ‘ie hacks’ Category

Detecting ie6 in jsps (jstl) to change png to gif

Tuesday, June 10th, 2008

I’m just learning how to integrate css into jsps, but I’m lucky enough to have people around to help me out! As a designer, I want to make sure browsers degrade as gracefully as possible, and so I asked Dan, one of our developers, how you would replace png images for map markers into gifs for ie 6. Usually I would just declare this in the css, but here we were appending a number at the end of each image and then appending the .png. Looking online didn’t uncover any “beautiful” solutions (as Dan would say).

(more…)