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
4033
posted 11 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
2565
posted 14 years ago by thewickedchemist
HTML conditional comments used to target specific versions of Internet Explorer (is ignored by all other browsers).
0
2509
posted 14 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
1261
posted 14 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
1281
posted 15 years ago by paul66
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
1690
posted 15 years ago by f6design
Note the special syntax:
* gt: greater than
* lte: less than or equal to
1
1543
posted 15 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
1142
posted 15 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
1444
posted 16 years ago by benwasilewski
and check out http://code.google.com/chrome/chromeframe/developers_guide.html#Detecting_Google_Chrome_Frame
0
1336
posted 16 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
1657
posted 16 years ago by takonia
Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.ie
2
1747
posted 16 years ago by jessibird
how to link ie only stylesheets and stylesheets by generation of ie
2
1805
posted 16 years ago by thesmu
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0
1882
posted 17 years ago by localhorst
Use this for background images. Put it in conditional comments in the head of your doc.
3
1801
posted 18 years ago by shellydennison
« Prev 1 Next »