Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
![popular snippet:having a snipplet with 20 favorites popular snippet:having a snipplet with 20 favorites](/img/badge/badge_3.png?v3)
jonhenshaw's Recent SnippetsTagged ie
- All /
« Prev 1 Next »
The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, the...
15
2533
posted 16 years ago by jonhenshaw
This is an excellent solution for fixing IE 6's inability to display transparent PNGs correctly.
Step 1: Include the following conditional comment the HEAD area of your document. You will need to update the CSS selector and also the path to wheree...
13
1207
posted 17 years ago by jonhenshaw
IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths...
7
1500
posted 17 years ago by jonhenshaw
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari.
Copy this script into your JavaScript files. It works immedi...
1
816
posted 17 years ago by jonhenshaw