Welcome To Snipplr
Everyone's Recent Snippets Tagged ie
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Add to the <head> of your page after the main stylesheet to serve different stylesheets for different versions of Internet Explorer
0
682
posted 13 years ago by amyb
IE7 by default uses an image resizing algorithm that means that scaled down images can look far from awesome. To solve this, we simply enable a much better resizing algorithm that is available in IE7 that produces results similar to what you’d expe...
0
710
posted 13 years ago by paul66
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
731
posted 13 years ago by paul66
Textareas in IE have vertical scrollbar visible by default. If you want those removed (I know I do) use this line.
0
795
posted 13 years ago by blueocto
To be placed in template.php preprocess_page function.\\r\\n\\r\\nBreaks stylesheets into 2 style tags with limit of 30 @imports each. IE has a limitation of 31 @imports or 31 style tags. (source: [http://john.albin.net/ie-css-limits/single-style-tes...
1
723
posted 14 years ago by resting
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
940
posted 14 years ago by f6design
You’ve now told the HTML web page that is linked to this CSS document to display the nav_bar list as inline-block – or in a single, horizontal row. The first problem: IE6 and IE7 don’t recognize it, so you need to add something that only they...
1
640
posted 14 years ago by fatihturan
Needs to be set on every element.\r\nimg.png needs to point to background
0
773
posted 14 years ago by reynish
This will fix all embeded PNGs.
this.src = "img/spacer.gif"
Needs to point to a 1x1 transparent GIF or you'll get an Image not found icon in the corner of the PNGs.
0
792
posted 14 years ago by reynish