Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged ie
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2932
posted 17 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
1381
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
1638
posted 17 years ago by jonhenshaw
This fixes a very annoying bug in IE by where when you scroll the page becomes corrupted. It relates to the way IE renders pages. This code places a null background image behind, making IE render the page differently.
*note* This can also be plac...
5
1028
posted 18 years ago by 1man
A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id ta...
11
1123
posted 18 years ago by 1man
Hacer que la propiedad with se comporte como max-width en IE. El ejemplo serÃa el equivalente a poner un max-width de 800px
Funciona con IE 5 y 6 (7 sin probar)
EstarÃa bien usar comentarios condicionales para evitar problemas con otros naveg...
2
766
posted 18 years ago by sendoa