Welcome To Snipplr
Everyone's Recent HTML Snippets Tagged ie
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Code to replace your opening <html> tag with conditionally set IE classes, including IE10.
1
1187
posted 10 years ago by Japegrape
Simple mix of basic CSS, HTML, and jQuery to detect IE and display a message to the user encouraging them to update.
0
908
posted 12 years ago by thewickedchemist
HTML conditional comments used to target specific versions of Internet Explorer (is ignored by all other browsers).
0
897
posted 13 years ago by DenoteIt
Add to the <head> of your page after the main stylesheet to serve different stylesheets for different versions of Internet Explorer
0
686
posted 13 years ago by amyb
Internet Explorer has many rendering engines ready for use. What this line of code basically does is force IE to use the most up to date rendering engine that it has available, so that your pages will render as well as possible. It then goes on to ta...
0
733
posted 13 years ago by paul66
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
944
posted 14 years ago by f6design
Note the special syntax:
* gt: greater than
* lte: less than or equal to
1
939
posted 14 years ago by c4ptivate
HTML code for input buttons with background images and rounded corners. For cases when it is not possible to use Progressive Enhancement (ie. when you need to have rounded corners in IE6+). See Customized buttons under CSS for styles.
0
631
posted 14 years ago by jofan
The following is a list of any conditional comment you'd probably ever need for targeting any version of IE.
1
793
posted 14 years ago by benwasilewski
and check out http://code.google.com/chrome/chromeframe/developers_guide.html#Detecting_Google_Chrome_Frame
0
763
posted 15 years ago by mware1205
I grabbed this code from here in order to make IE 8 behave like IE 7 for me. It sure is a heck of a lot easier than going back through all the CSS on every site I've ever done. Just drop it in the header, hopefully you have a header include.
4
873
posted 15 years ago by takonia
Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.ie
2
875
posted 15 years ago by jessibird
how to link ie only stylesheets and stylesheets by generation of ie
2
909
posted 15 years ago by thesmu
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0
1062
posted 16 years ago by localhorst
Use this for background images. Put it in conditional comments in the head of your doc.
3
947
posted 16 years ago by shellydennison
« Prev 1 Next »